IVsDataMappedObjectType.GetSelection 方法
傳回代表選取 XML 標記的內容。 IVsDataMappedObjectSelection 物件具有對應的型別對應。
命名空間: Microsoft.VisualStudio.Data.Services
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Function GetSelection ( _
underlyingType As IVsDataObjectType _
) As IVsDataMappedObjectSelection
IVsDataMappedObjectSelection GetSelection(
IVsDataObjectType underlyingType
)
IVsDataMappedObjectSelection^ GetSelection(
IVsDataObjectType^ underlyingType
)
abstract GetSelection :
underlyingType:IVsDataObjectType -> IVsDataMappedObjectSelection
function GetSelection(
underlyingType : IVsDataObjectType
) : IVsDataMappedObjectSelection
參數
underlyingType
類型:Microsoft.VisualStudio.Data.Services.IVsDataObjectType這個對應型別對應的基礎型別。 因為這個對應型別可以對應至數個基礎型別,這是必要的。
傳回值
類型:Microsoft.VisualStudio.Data.Services.IVsDataMappedObjectSelection
表示選取 XML 標記的內容。 IVsDataMappedObjectSelection 物件具有對應的型別對應。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。