IVsRegisterDataSourceFactories.GetDataSource Method
Returns an interface for the data source.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetDataSource ( _
ByRef guid As Guid, _
dw As UInteger, _
<OutAttribute> ByRef ppUIDataSource As IVsUIDataSource _
) As Integer
int GetDataSource(
ref Guid guid,
uint dw,
out IVsUIDataSource ppUIDataSource
)
int GetDataSource(
[InAttribute] Guid% guid,
[InAttribute] unsigned int dw,
[OutAttribute] IVsUIDataSource^% ppUIDataSource
)
abstract GetDataSource :
guid:Guid byref *
dw:uint32 *
ppUIDataSource:IVsUIDataSource byref -> int
function GetDataSource(
guid : Guid,
dw : uint,
ppUIDataSource : IVsUIDataSource
) : int
Parameters
- guid
Type: System.Guid%
[in] Globally unique identifier for the data source.
- dw
Type: System.UInt32
[in] reserved.
- ppUIDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource%
[out] Pointer to where to put the interface pointer.
Return Value
Type: System.Int32
Returns S_OK when the data source is valid or E_FAIL if the GUID was not found.
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.