Contains 方法 (String)

Determines whether the property is in the property collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

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

语法

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

returnValue = instance.Contains(propertyName)
public bool Contains(
    string propertyName
)
public:
virtual bool Contains(
    String^ propertyName
) sealed
abstract Contains : 
        propertyName:string -> bool 
override Contains : 
        propertyName:string -> bool 
public final function Contains(
    propertyName : String
) : boolean

参数

返回值

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

实现

ISfcPropertySet. . :: . .Contains(String)