Compartir a través de


Rule.GetPropertiesInCategory Method

Returns the list of properties in a Category.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public Function GetPropertiesInCategory ( _
    categoryName As String _
) As IList(Of BaseProperty)
public IList<BaseProperty> GetPropertiesInCategory(
    string categoryName
)
public:
IList<BaseProperty^>^ GetPropertiesInCategory(
    String^ categoryName
)
member GetPropertiesInCategory : 
        categoryName:string -> IList<BaseProperty> 
public function GetPropertiesInCategory(
    categoryName : String
) : IList<BaseProperty>

Parameters

  • categoryName
    Type: System.String

    The name of the category whose properties are to be returned.

Return Value

Type: IList<BaseProperty>
Returns the list of properties in a Category. Returns nulla null reference (Nothing in Visual Basic) if this Rule does not contain this category.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.Build.Framework.XamlTypes Namespace