PropertyValueEditor.CreateEditorAttribute Method (Type)
Utility method that creates a new EditorAttribute for the specified PropertyValueEditor type.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Function CreateEditorAttribute ( _
propertyValueEditorType As Type _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
Type propertyValueEditorType
)
public:
static EditorAttribute^ CreateEditorAttribute(
Type^ propertyValueEditorType
)
static member CreateEditorAttribute :
propertyValueEditorType:Type -> EditorAttribute
public static function CreateEditorAttribute(
propertyValueEditorType : Type
) : EditorAttribute
Parameters
- propertyValueEditorType
Type: System.Type
PropertyValueEditor type for which to create the new EditorAttribute.
Return Value
Type: System.ComponentModel.EditorAttribute
A new EditorAttribute for the specified PropertyValueEditor type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CreateEditorAttribute Overload
Microsoft.Windows.Design.PropertyEditing Namespace