Share via


Rule.GetProperty(String) Method

Definition

Returns a property with a given name.

public:
 Microsoft::Build::Framework::XamlTypes::BaseProperty ^ GetProperty(System::String ^ propertyName);
public Microsoft.Build.Framework.XamlTypes.BaseProperty GetProperty (string propertyName);
member this.GetProperty : string -> Microsoft.Build.Framework.XamlTypes.BaseProperty
Public Function GetProperty (propertyName As String) As BaseProperty

Parameters

propertyName
String

The name of the property.

Returns

The property, or null if one with a matching name could not be found.

Applies to