共用方式為


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 命名空間