SfcDictionaryCollection<T, K, ParentT>.GetObjectByKey 方法
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Protected Overrides Function GetObjectByKey ( _
key As K _
) As T
'用途
Dim key As K
Dim returnValue As T
returnValue = Me.GetObjectByKey(key)
protected override T GetObjectByKey(
K key
)
protected:
virtual T GetObjectByKey(
K key
) override
abstract GetObjectByKey :
key:'K -> 'T
override GetObjectByKey :
key:'K -> 'T
protected override function GetObjectByKey(
key : K
) : T
參數
- key
型別:K
The existing key object in the collection.
傳回值
型別:T
The object in the collection that contains a key.