CategoryResourceAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| CategoryResourceAttribute(String, Type) |
使用指定的类别名称初始化 CategoryAttribute 类的新实例。 |
| CategoryResourceAttribute(String, Type, String) |
使用指定的类别名称初始化 CategoryAttribute 类的新实例。 |
CategoryResourceAttribute(String, Type)
使用指定的类别名称初始化 CategoryAttribute 类的新实例。
public:
CategoryResourceAttribute(System::String ^ displayNameKey, Type ^ type);
public CategoryResourceAttribute (string displayNameKey, Type type);
new Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute : string * Type -> Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute
Public Sub New (displayNameKey As String, type As Type)
参数
- displayNameKey
- String
类别名称
- type
- Type
类型
适用于
CategoryResourceAttribute(String, Type, String)
使用指定的类别名称初始化 CategoryAttribute 类的新实例。
public:
CategoryResourceAttribute(System::String ^ displayNameKey, Type ^ type, System::String ^ resourceName);
public CategoryResourceAttribute (string displayNameKey, Type type, string resourceName);
new Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute : string * Type * string -> Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute
Public Sub New (displayNameKey As String, type As Type, resourceName As String)
参数
- displayNameKey
- String
类别名称
- type
- Type
此类别的类型
- resourceName
- String
资源名称