CategoryAttribute Constructors
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.
Initializes a new instance of the CategoryAttribute class.
Overloads
CategoryAttribute() |
Initializes a new instance of the CategoryAttribute class using the category name Default. |
CategoryAttribute(String) |
Initializes a new instance of the CategoryAttribute class using the specified category name. |
CategoryAttribute()
- Source:
- CategoryAttribute.cs
- Source:
- CategoryAttribute.cs
- Source:
- CategoryAttribute.cs
Initializes a new instance of the CategoryAttribute class using the category name Default.
public:
CategoryAttribute();
public CategoryAttribute ();
Public Sub New ()
Applies to
CategoryAttribute(String)
- Source:
- CategoryAttribute.cs
- Source:
- CategoryAttribute.cs
- Source:
- CategoryAttribute.cs
Initializes a new instance of the CategoryAttribute class using the specified category name.
public:
CategoryAttribute(System::String ^ category);
public CategoryAttribute (string category);
new System.ComponentModel.CategoryAttribute : string -> System.ComponentModel.CategoryAttribute
Public Sub New (category As String)
Parameters
- category
- String
The name of the category.
Remarks
If the name you provide for the category
parameter is one of the predefined category names, the name will be automatically localized by the Category property.
If the name you provide is not a predefined category name, and you do not override the GetLocalizedString method to provide a localized name, the category name will not be localized.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om