プロパティ名とプロパティ名、バージョン、別のカテゴリ名と説明を使用 DataViewPropertyDescriptor クラスの新しいインスタンスを参照用に初期化します。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Public Sub New ( _
name As String, _
displayName As String, _
category As String, _
description As String, _
isReadOnly As Boolean _
)
public DataViewPropertyDescriptor(
string name,
string displayName,
string category,
string description,
bool isReadOnly
)
public:
DataViewPropertyDescriptor(
String^ name,
String^ displayName,
String^ category,
String^ description,
bool isReadOnly
)
new :
name:string *
displayName:string *
category:string *
description:string *
isReadOnly:bool -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
name : String,
displayName : String,
category : String,
description : String,
isReadOnly : boolean
)
パラメーター
- name
型 : System.String
プロパティ名。
- displayName
型 : System.String
プロパティの表示名。このプロパティが DisplayNameAttributeを作成するために使用されます。
- category
型 : System.String
プロパティをグループ化するカテゴリ名 (プロパティ グリッドで)。このパラメーターが CategoryAttributeを作成するために使用されます。
- description
型 : System.String
プロパティの説明。このプロパティが DescriptionAttributeを作成するために使用されます。
- isReadOnly
型 : System.Boolean
プロパティが読み取り専用かどうかを示す Boolean の値。この値が ReadOnlyAttribute.Default.IsReadOnlyと異なる場合 ReadOnlyAttributeを作成するには、を使用します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
関連項目
DataViewPropertyDescriptor クラス