Partilhar via


PropertyCollection.ContainsProperty(Object) Method

Definition

Determines whether the property collection contains a property for the specified key.

public:
 bool ContainsProperty(System::Object ^ key);
public:
 bool ContainsProperty(Platform::Object ^ key);
bool ContainsProperty(winrt::Windows::Foundation::IInspectable const & key);
public bool ContainsProperty (object key);
member this.ContainsProperty : obj -> bool
Public Function ContainsProperty (key As Object) As Boolean

Parameters

key
Object

The key.

Returns

true if the property exists, otherwise false.

Applies to