シンタックス
'宣言
Public Overloads Shared Sub SetReadOnlyAttribute( _
ByVal As System.ComponentModel.PropertyDescriptorCollection, _
ByVal As System.String, _
ByVal As System.Boolean _
)
'使用法
Dim props As System.ComponentModel.PropertyDescriptorCollection
Dim propName As System.String
Dim isReadOnly As System.Boolean
Util.SetReadOnlyAttribute(props, propName, isReadOnly)
public static void SetReadOnlyAttribute(
System.ComponentModel.PropertyDescriptorCollection ,
System.string ,
System.bool
)
パラメータ
- props
- propName
- isReadOnly
参照