IVsDataMappedObjectSelector.SelectMappedObjects<T> 方法 (String)
擷取指定型別的對應資料物件的清單。
命名空間: Microsoft.VisualStudio.Data.Services
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Function SelectMappedObjects(Of T As IVsDataMappedObject) ( _
specificTypeName As String _
) As IList(Of T)
IList<T> SelectMappedObjects<T>(
string specificTypeName
)
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject
IList<T>^ SelectMappedObjects(
String^ specificTypeName
)
abstract SelectMappedObjects :
specificTypeName:string -> IList<'T> when 'T : IVsDataMappedObject
JScript 不支援泛型型別或方法。
型別參數
- T
參數的型別。
參數
- specificTypeName
型別:System.String
擷取網站導覽資料型別名稱的物件。這是泛型資料型別名稱,在 <MappedType> 項目的資料物件 XML 存放區中找到。
傳回值
型別:System.Collections.Generic.IList<T>
IVsDataMappedObject 清單物件表示指定之型別的對應的物件。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentException | 型別名稱不正確。 |
NotSupportedException | 型別名稱不受支援。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。