DesignerSerializationOptionsAttribute Constructor

DesignerSerializationOptionsAttribute Constructor (DesignerSerializationOptions)

 

Initializes a new instance of the DesignerSerializationOptionsAttribute class.

Namespace:   System.Windows.Markup
Assembly:  WindowsBase (in WindowsBase.dll)

public DesignerSerializationOptionsAttribute(
	DesignerSerializationOptions designerSerializationOptions
)

Parameters

designerSerializationOptions
Type: System.Windows.Markup.DesignerSerializationOptions

Specifies how the property is to be serialized.

Exception Condition
InvalidEnumArgumentException

designerSerializationOptions is not a valid DesignerSerializationOptions value.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft