DataSourceFactory.GetDataSource Method (Guid%, UInt32)
Get a UI Data Source for the specified Data Source factory guid and data source ID. Override in your derived factory class
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Protected MustOverride Function GetDataSource ( _
ByRef factory As Guid, _
dataSourceId As UInteger _
) As IVsUIDataSource
'Utilisation
Dim factory As Guid
Dim dataSourceId As UInteger
Dim returnValue As IVsUIDataSource
returnValue = Me.GetDataSource(factory, _
dataSourceId)
protected abstract IVsUIDataSource GetDataSource(
ref Guid factory,
uint dataSourceId
)
protected:
virtual IVsUIDataSource^ GetDataSource(
Guid% factory,
unsigned int dataSourceId
) abstract
abstract GetDataSource :
factory:Guid byref *
dataSourceId:uint32 -> IVsUIDataSource
protected abstract function GetDataSource(
factory : Guid,
dataSourceId : uint
) : IVsUIDataSource
Parameters
- factory
Type: System.Guid%
- dataSourceId
Type: System.UInt32
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.