Rule.Categories Property
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.
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
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.