DataObjectIdentifierResolver.SlowExpandIdentifier 方法
展開識別項以任何方式可供使用。
命名空間: Microsoft.VisualStudio.Data
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)
語法
'宣告
Protected Overridable Function SlowExpandIdentifier ( _
typeName As String, _
partialIdentifier As Object() _
) As Object()
protected virtual Object[] SlowExpandIdentifier(
string typeName,
Object[] partialIdentifier
)
protected:
virtual array<Object^>^ SlowExpandIdentifier(
String^ typeName,
array<Object^>^ partialIdentifier
)
abstract SlowExpandIdentifier :
typeName:string *
partialIdentifier:Object[] -> Object[]
override SlowExpandIdentifier :
typeName:string *
partialIdentifier:Object[] -> Object[]
protected function SlowExpandIdentifier(
typeName : String,
partialIdentifier : Object[]
) : Object[]
參數
typeName
類型:String資料物件的型別名稱。
partialIdentifier
類型:array<Object[]資料物件的部分識別項。
傳回值
類型:array<Object[]
展開的識別項。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentNullException | typeName 參數為 null。 |
備註
這個方法會展開識別項使用任何必要的方式達成正確的副檔名。 它會執行昂貴的作業所需的。 QuickExpandIdentifier 方法的基底實作委派。
ExpandIdentifier 方法的基底實作會嘗試先呼叫方法, QuickExpandIdentifier ,如果可以,則不會提供擴充它搜尋快取現有的項目。 最後,則為,如果項目不在快取中找到,則會呼叫這個方法做為最後的解決方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。