GetExistingObjectByKey 方法
Uses the specified key to retrieve an existing object from the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Protected MustOverride Function GetExistingObjectByKey ( _
key As K _
) As T
用法
Dim key As K
Dim returnValue As T
returnValue = Me.GetExistingObjectByKey(key)
protected abstract T GetExistingObjectByKey(
K key
)
protected:
virtual T GetExistingObjectByKey(
K key
) abstract
abstract GetExistingObjectByKey :
key:'K -> 'T
protected abstract function GetExistingObjectByKey(
key : K
) : T
参数
- key
类型:K
The key that identifies the object to get.
返回值
类型:T
An object from the collection or nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) if a matching object was not found.