다음을 통해 공유


IVsDataSourceFactory Interface

Implemented by packages that supply their own Data source factories.

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

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("24034437-CB2E-47DD-AE2B-14D56481A2F0")> _
Public Interface IVsDataSourceFactory
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("24034437-CB2E-47DD-AE2B-14D56481A2F0")]
public interface IVsDataSourceFactory
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"24034437-CB2E-47DD-AE2B-14D56481A2F0")]
public interface class IVsDataSourceFactory
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("24034437-CB2E-47DD-AE2B-14D56481A2F0")>]
type IVsDataSourceFactory =  interface end
public interface IVsDataSourceFactory

The IVsDataSourceFactory type exposes the following members.

Methods

  Name Description
Public method GetDataSource Returns a data source.

Top

Remarks

This interface is implemented by the shell as the SVsDataSourceFactory service. Data source factories must be registered under the UIDataSourceProviders sub-key in the Windows registry. In addition, the package must call RegisterDataSourceFactory in the SetSite method.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace