DataSourceFactory.GetDataSource Method (Guid, UInt32, IVsUIDataSource)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Microsoft internal use only.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assemblies: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Function GetDataSource ( _
ByRef factory As Guid, _
dataSourceId As UInteger, _
<OutAttribute> ByRef ppDataSource As IVsUIDataSource _
) As Integer
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.