/// <summary>Gets the data source for this element.</summary> /// <param name="ppDataSource">[out] The data source.</param> /// <returns>If the method succeeds, it returns <see cref="VSConstants.S_OK" />. If it fails, it returns an error code.</returns> public int get_DataSource(out IVsUISimpleDataSource ppDataSource) { ppDataSource = _vsDataSource; return(VSConstants.S_OK); }
/// <summary>Binds the specified data source to this element.</summary> /// <param name="pDataSource">The data source.</param> /// <returns>If the method succeeds, it returns <see cref="VSConstants.S_OK" />. If it fails, it returns an error code.</returns> public int put_DataSource(IVsUISimpleDataSource pDataSource) { _vsDataSource = pDataSource; return(VSConstants.S_OK); }
int IVsInfoBarUIElement.put_DataSource(IVsUISimpleDataSource pDataSource) { throw new NotImplementedException(); }
int IVsUIElement.get_DataSource(out IVsUISimpleDataSource ppDataSource) { throw new NotImplementedException(); }
public VerbList(IVsUISimpleDataSource ds) { this.ds = ds; }