DataBus.Contains 方法

定义

检查该物业是否存在。

重载

名称 说明
Contains(ISfcProperty)

检查是否存在带有指定元数据和值的属性。 此类不能被继承。

Contains(String)

检查指定名称的物业是否存在。 此类不能被继承。

Contains<T>(String)

表示是否存在指定名称的财产。

Contains(ISfcProperty)

检查是否存在带有指定元数据和值的属性。 此类不能被继承。

public:
 virtual bool Contains(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ property);
public bool Contains(Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property);
abstract member Contains : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> bool
override this.Contains : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> bool
Public Function Contains (property As ISfcProperty) As Boolean

参数

property
ISfcProperty

元数据和价值的属性。

返回

True如果存在属性元数据和价值;否则,。 false

实现

适用于

Contains(String)

检查指定名称的物业是否存在。 此类不能被继承。

public:
 virtual bool Contains(System::String ^ propertyName);
public bool Contains(string propertyName);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

参数

propertyName
String

一个表示该属性名称的字符串。

返回

true如果物业名称存在;否则,。 false

实现

适用于

Contains<T>(String)

表示是否存在指定名称的财产。

public:
generic <typename T>
 virtual bool Contains(System::String ^ name);
public bool Contains<T>(string name);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Function Contains(Of T) (name As String) As Boolean

类型参数

T

指定属性的类型。

参数

name
String

一个表示名字的字符串。

返回

true如果物业名称存在;否则,。 false

实现

适用于