IVsRegisterDataSourceFactories.RegisterDataSourceFactory Method

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

Syntax

‘선언
Function RegisterDataSourceFactory ( _
    ByRef guid As Guid, _
    pDataSourceFactory As IVsDataSourceFactory _
) As Integer
‘사용 방법
Dim instance As IVsRegisterDataSourceFactories
Dim guid As Guid
Dim pDataSourceFactory As IVsDataSourceFactory
Dim returnValue As Integer

returnValue = instance.RegisterDataSourceFactory(guid, _
    pDataSourceFactory)
int RegisterDataSourceFactory(
    ref Guid guid,
    IVsDataSourceFactory pDataSourceFactory
)
int RegisterDataSourceFactory(
    [InAttribute] Guid% guid, 
    [InAttribute] IVsDataSourceFactory^ pDataSourceFactory
)
abstract RegisterDataSourceFactory : 
        guid:Guid byref * 
        pDataSourceFactory:IVsDataSourceFactory -> int 
function RegisterDataSourceFactory(
    guid : Guid, 
    pDataSourceFactory : IVsDataSourceFactory
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsRegisterDataSourceFactories Interface

IVsRegisterDataSourceFactories Members

Microsoft.VisualStudio.Shell.Interop Namespace