GetExistingObjectByKey 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Protected Overrides Function GetExistingObjectByKey ( _
    key As K _
) As T
用法
Dim key As K
Dim returnValue As T

returnValue = Me.GetExistingObjectByKey(key)
protected override T GetExistingObjectByKey(
    K key
)
protected:
virtual T GetExistingObjectByKey(
    K key
) override
abstract GetExistingObjectByKey : 
        key:'K -> 'T 
override GetExistingObjectByKey : 
        key:'K -> 'T 
protected override function GetExistingObjectByKey(
    key : K
) : T

参数

  • key
    类型:K
    The object to locate in the list collection.

返回值

类型:T
The existing objects in the collection that contains a specified key.