IVsRegisterDataSourceFactories::RegisterDataSourceFactory Method (Guid, IVsDataSourceFactory^)

 

Registers this data source factory with the global service.

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

int RegisterDataSourceFactory(
	[InAttribute] Guid% guid,
	IVsDataSourceFactory^ pDataSourceFactory
)

Parameters

guid
Type: System::Guid

[in] Globally unique identifier for the data source factory.

pDataSourceFactory
Type: Microsoft.VisualStudio.Shell.Interop::IVsDataSourceFactory^

[in] The interface to use for the data source factory.

Return Value

Type: System::Int32

Returns S_OK if the data source factory was registered correctly.

Return to top
Show: