次の方法で共有


CategoryAttribute コンストラクター

定義

CategoryAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
CategoryAttribute()

カテゴリ名 Default を使用して、 CategoryAttribute クラスの新しいインスタンスを初期化します。

CategoryAttribute(String)

指定したカテゴリ名を使用して、 CategoryAttribute クラスの新しいインスタンスを初期化します。

CategoryAttribute()

ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs

カテゴリ名 Default を使用して、 CategoryAttribute クラスの新しいインスタンスを初期化します。

public:
 CategoryAttribute();
public CategoryAttribute();
Public Sub New ()

適用対象

CategoryAttribute(String)

ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs
ソース:
CategoryAttribute.cs

指定したカテゴリ名を使用して、 CategoryAttribute クラスの新しいインスタンスを初期化します。

public:
 CategoryAttribute(System::String ^ category);
public CategoryAttribute(string category);
new System.ComponentModel.CategoryAttribute : string -> System.ComponentModel.CategoryAttribute
Public Sub New (category As String)

パラメーター

category
String

カテゴリの名前。

注釈

category パラメーターに指定した名前が定義済みのカテゴリ名の 1 つである場合、その名前は Category プロパティによって自動的にローカライズされます。

指定した名前が定義済みのカテゴリ名ではなく、ローカライズされた名前を指定するために GetLocalizedString メソッドをオーバーライドしない場合、カテゴリ名はローカライズされません。

適用対象