Bewerken

Delen via


ComponentDesigner.ShadowPropertyCollection.Contains(String) Method

Definition

Indicates whether a property matching the specified name exists in the collection.

public:
 bool Contains(System::String ^ propertyName);
public bool Contains (string propertyName);
member this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

The name of the property to check for in the collection.

Returns

true if the property exists in the collection; otherwise, false.

Applies to