PropertyItem 构造函数

该类及其成员保留供内部使用,不应在代码中使用。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Internal
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
Public Sub New ( _
    name As String, _
    type As Type, _
    category As String, _
    description As String _
)
public PropertyItem(
    string name,
    Type type,
    string category,
    string description
)
public:
PropertyItem(
    String^ name, 
    Type^ type, 
    String^ category, 
    String^ description
)
new : 
        name:string * 
        type:Type * 
        category:string * 
        description:string -> PropertyItem
public function PropertyItem(
    name : String, 
    type : Type, 
    category : String, 
    description : String
)

参数

  • name
    类型:System.String
    属性网格中显示的属性名称。
  • type
    类型:System.Type
    一个表示属性类型的类型。
  • category
    类型:System.String
    属性在属性网格中显示时所属的类别。
  • description
    类型:System.String
    一个显示在属性网格“帮助”区域的字符串。

.NET Framework 安全性

请参见

参考

PropertyItem 类

Microsoft.VisualStudio.Data.Schema.Package.Internal 命名空间