DataBus.Contains 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查属性是否存在。
重载
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
。