SfcPropertyCollection.Contains<T> 方法 (String)

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

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

语法

声明
Public Function Contains(Of T) ( _
    propertyName As String _
) As Boolean
用法
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(propertyName)
public bool Contains<T>(
    string propertyName
)
public:
generic<typename T>
virtual bool Contains(
    String^ propertyName
) sealed
abstract Contains : 
        propertyName:string -> bool  
override Contains : 
        propertyName:string -> bool
JScript 不支持一般类型和方法。

类型参数

  • T

参数

  • propertyName
    类型:System.String
    A string that represents the property name.

返回值

类型:System.Boolean
true if the specified property exists in the property collection; otherwise, false.

实现

ISfcPropertySet.Contains<T>(String)

请参阅

参考

SfcPropertyCollection 类

Contains 重载

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间