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

 

Returns a 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] The GUID for the data source factory.

dw
Type: System::UInt32

[in] Reserved

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

[out] Pointer to a variable that gets set to a IVsUIDataSource interface representing the data source.

Return Value

Type: System::Int32

Returns S_OK if the data source is found, or E_FAIL if not.

Return to top
Show: