IVsRegisterDataSourceFactories.RegisterDataSourceFactory 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.
Registers this data source factory with the global service.
public:
int RegisterDataSourceFactory(Guid % guid, Microsoft::VisualStudio::Shell::Interop::IVsDataSourceFactory ^ pDataSourceFactory);
public int RegisterDataSourceFactory (ref Guid guid, Microsoft.VisualStudio.Shell.Interop.IVsDataSourceFactory pDataSourceFactory);
abstract member RegisterDataSourceFactory : Guid * Microsoft.VisualStudio.Shell.Interop.IVsDataSourceFactory -> int
Public Function RegisterDataSourceFactory (ByRef guid As Guid, pDataSourceFactory As IVsDataSourceFactory) As Integer
Parameters
- guid
- Guid
[in] Globally unique identifier for the data source factory.
- pDataSourceFactory
- IVsDataSourceFactory
[in] The interface to use for the data source factory.
Returns
Returns S_OK if the data source factory was registered correctly.
Remarks
This method is safe to access from any thread.