共用方式為


DefaultEditorOptionValueAttribute(Object) Constructor

Definition

Attribute to define the default value of an editor option.

public:
 DefaultEditorOptionValueAttribute(System::Object ^ defaultEditorOptionValue);
public DefaultEditorOptionValueAttribute (object defaultEditorOptionValue);
new Microsoft.VisualStudio.Utilities.BaseUtility.DefaultEditorOptionValueAttribute : obj -> Microsoft.VisualStudio.Utilities.BaseUtility.DefaultEditorOptionValueAttribute
Public Sub New (defaultEditorOptionValue As Object)

Parameters

defaultEditorOptionValue
Object

The default value that editor option should have before being set by a component. Should be of the same type of the editor option. Only value types and strings are supported

Exceptions

defaultEditorOptionValue is null.

Applies to