ObjectPropertyProvider.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides specified data for the object property.
Overloads
Contains(String) |
Retrieves a value that indicates whether the specified string object occurs in this string. |
Contains(ISfcProperty) |
Retrieves a value that indicates a specified value of the item in the object property. |
Contains<T>(String) |
Retrieves whether the string value indicates the object property. |
Contains(String)
Retrieves a value that indicates whether the specified string object occurs in this 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
Parameters
- propertyName
- String
A string that represents the property.
Returns
true
if the value indicates whether the specified string object occurs in this string; otherwise, false
.
Implements
Applies to
Contains(ISfcProperty)
Retrieves a value that indicates a specified value of the item in the object property.
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
Parameters
- property
- ISfcProperty
An interface for the specified item in the object property.
Returns
true
if the value that indicates a specified value of the item is in the object property; otherwise, false
.
Implements
Applies to
Contains<T>(String)
Retrieves whether the string value indicates the object property.
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
Type Parameters
- T
The type of the object property.
Parameters
- name
- String
The object property.
Returns
true
if the string value indicates the object property; otherwise, false
.