PropertyItem Constructor
Initializes a new instance of the PropertyItem class.
Namespace: Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
type As Type, _
category As String, _
description As String _
)
'Usage
Dim name As String
Dim type As Type
Dim category As String
Dim description As String
Dim instance As New PropertyItem(name, type, _
category, description)
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
)
Parameters
- name
Type: System..::..String
The name of the property displayed in the property grid.
- type
Type: System..::..Type
A Type that represents the type of the property.
- category
Type: System..::..String
The _category under which the property is displayed in the property grid.
- description
Type: System..::..String
A string that is displayed in the help area of the property grid.
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace