DataBus.Contains 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查該房產是否存在。
多載
| 名稱 | Description |
|---|---|
| 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