Rule.Categories Property

Definition

The list of Categorys that properties in this Rule belong to.

public:
 property System::Collections::Generic::List<Microsoft::Build::Framework::XamlTypes::Category ^> ^ Categories { System::Collections::Generic::List<Microsoft::Build::Framework::XamlTypes::Category ^> ^ get(); void set(System::Collections::Generic::List<Microsoft::Build::Framework::XamlTypes::Category ^> ^ value); };
public System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Category> Categories { get; set; }
public System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Category> Categories { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.Categories : System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Category> with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Categories : System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Category> with get, set
Public Property Categories As List(Of Category)

Property Value

List<Category>

Returns the list of properties.

Attributes

Remarks

This field is optional. Note that this field returns only the categories that were explicitly defined and do not contain any auto-generated categories. When a BaseProperty contained in this Rule declares its category to be something that is not present in this list, then we auto-generate a Category with that name and add it to the internal list of categories. That auto-generated category will not be returned by this field.

Applies to