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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για