DataSourceFactory.GetDataSource Method (Guid%, UInt32, IVsUIDataSource%)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Function GetDataSource ( _
ByRef factory As Guid, _
dataSourceId As UInteger, _
<OutAttribute> ByRef ppDataSource As IVsUIDataSource _
) As Integer
'Utilisation
Dim instance As DataSourceFactory
Dim factory As Guid
Dim dataSourceId As UInteger
Dim ppDataSource As IVsUIDataSource
Dim returnValue As Integer
returnValue = instance.GetDataSource(factory, _
dataSourceId, ppDataSource)
public int GetDataSource(
ref Guid factory,
uint dataSourceId,
out IVsUIDataSource ppDataSource
)
public:
virtual int GetDataSource(
Guid% factory,
unsigned int dataSourceId,
[OutAttribute] IVsUIDataSource^% ppDataSource
) sealed
abstract GetDataSource :
factory:Guid byref *
dataSourceId:uint32 *
ppDataSource:IVsUIDataSource byref -> int
override GetDataSource :
factory:Guid byref *
dataSourceId:uint32 *
ppDataSource:IVsUIDataSource byref -> int
public final function GetDataSource(
factory : Guid,
dataSourceId : uint,
ppDataSource : IVsUIDataSource
) : int
Parameters
- factory
Type: System.Guid%
- dataSourceId
Type: System.UInt32
- ppDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource%
Return Value
Type: System.Int32
Implements
IVsDataSourceFactory.GetDataSource(Guid%, UInt32, 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.