Partager via


IVsUIElement.get_DataSource(IVsUISimpleDataSource) Method

Definition

Gets the data source for this element.

public:
 int get_DataSource([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource ^ % ppDataSource);
public int get_DataSource (out Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource ppDataSource);
abstract member get_DataSource : IVsUISimpleDataSource -> int
Public Function get_DataSource (ByRef ppDataSource As IVsUISimpleDataSource) As Integer

Parameters

ppDataSource
IVsUISimpleDataSource

[out] The data source.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to