Returns an IVsDataMappedObjectSelection object representing the content of the Selection XML tag corresponding to this mapped type.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function GetSelection ( _
underlyingType As IVsDataObjectType _
) As IVsDataMappedObjectSelection
'使用
Dim instance As IVsDataMappedObjectType
Dim underlyingType As IVsDataObjectType
Dim returnValue As IVsDataMappedObjectSelection
returnValue = instance.GetSelection(underlyingType)
IVsDataMappedObjectSelection GetSelection(
IVsDataObjectType underlyingType
)
IVsDataMappedObjectSelection^ GetSelection(
IVsDataObjectType^ underlyingType
)
function GetSelection(
underlyingType : IVsDataObjectType
) : IVsDataMappedObjectSelection
Parameters
underlyingType
Type: Microsoft.VisualStudio.Data.Services.IVsDataObjectTypeThe underlying type to which this mapped type corresponds. This is necessary because the mapped type can map to several underlying types.
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataMappedObjectSelection
An IVsDataMappedObjectSelection object representing the content of the Selection XML tag corresponding to this mapped type.
Permissions
- 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.
See Also
Reference
IVsDataMappedObjectType Interface