예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 int IVsInfoBarUIElement.put_DataSource(IVsUISimpleDataSource pDataSource)
 {
     throw new NotImplementedException();
 }
예제 #4
0
 int IVsUIElement.get_DataSource(out IVsUISimpleDataSource ppDataSource)
 {
     throw new NotImplementedException();
 }
 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;
 }