ObjectPropertyProvider.Contains 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供物件屬性的指定資料。
多載
| 名稱 | Description |
|---|---|
| Contains(String) |
檢索一個值,指示指定的字串物件是否出現在這個字串中。 |
| Contains(ISfcProperty) |
取得一個表示物件屬性中指定值的值。 |
| Contains<T>(String) |
檢索字串值是否代表物件屬性。 |
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(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<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