共用方式為


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

參數

傳回值

類型:Microsoft.VisualStudio.Data.Services.IVsDataMappedObjectSelection
表示選取 XML 標記的內容。 IVsDataMappedObjectSelection 物件具有對應的型別對應。

.NET Framework 安全性

請參閱

參考

IVsDataMappedObjectType 介面

Microsoft.VisualStudio.Data.Services 命名空間