PropertyCollection.ContainsProperty(Object) 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.
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
.