PropertyDictionary.Contains Method

Definition

Determines whether the dictionary contains a specific key.

Overloads

Contains(ISfcProperty)

Determines a value that indicates a specified object to be contained.

Contains(KeyValuePair<String,Object>)

Provides the object for the PropertyDictionary.

Contains(String)

Determines if the dictionary contains a specific property name.

Contains<T>(String)

Indicates a value whether the dictionary contains a specific name.

Contains(ISfcProperty)

Determines a value that indicates a specified object to be contained.

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

true for the value that the property can contain; otherwise, false.

Returns

true if a value that indicates a specified object is found in the PropertyDictionary; otherwise, false.

Implements

Applies to

Contains(KeyValuePair<String,Object>)

Provides the object for the PropertyDictionary.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> value);
public bool Contains (System.Collections.Generic.KeyValuePair<string,object> value);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Function Contains (value As KeyValuePair(Of String, Object)) As Boolean

Parameters

value
KeyValuePair<String,Object>

A string value for the dictionary.

Returns

true if the object is found within the property; otherwise, false.

Implements

Applies to

Contains(String)

Determines if the dictionary contains a specific property name.

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 name of the property name of the control.

Returns

true if the object contains the item; otherwise, false.

Implements

Applies to

Contains<T>(String)

Indicates a value whether the dictionary contains a specific name.

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

A generic object.

Parameters

name
String

The name of the property.

Returns

true if the dictionary contains a specific key; otherwise, false.

Implements

Applies to