IVsUIElement.put_DataSource(IVsUISimpleDataSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Binds the specified data source to this element.
public:
int put_DataSource(Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource ^ pDataSource);
public:
int put_DataSource(Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource ^ pDataSource);
int put_DataSource(Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource const & pDataSource);
public int put_DataSource (Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource pDataSource);
abstract member put_DataSource : Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource -> int
Public Function put_DataSource (pDataSource As IVsUISimpleDataSource) As Integer
Parameters
- pDataSource
- IVsUISimpleDataSource
The data source.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.