IVsRegisterDataSourceFactories::GetDataSource Method (Guid, UInt32, IVsUIDataSource^)

 

Returns an interface for the data source.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetDataSource(
	[InAttribute] Guid% guid,
	unsigned int dw,
	[OutAttribute] IVsUIDataSource^% ppUIDataSource
)

Parameters

guid
Type: System::Guid

[in] Globally unique identifier for the data source.

dw
Type: System::UInt32

[in] Reserved.

ppUIDataSource
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIDataSource^

[out] Pointer to where to put the interface pointer.

Return Value

Type: System::Int32

Returns S_OK when the data source is valid or E_FAIL if the GUID was not found.

Return to top
Show: