VirtualTypeBuilder::IsSerializable Property

 

Gets or sets whether the resulting virtual type is serializable.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
property bool IsSerializable {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the resulting virtual type is serializable, otherwise false.

The value of this property must match the behavior of instances of the VirtualTypeBuilder class returned from the InvokeConstructor method of your type implementer. If this property indicates that this type is serializable but the type implementer returns a type that is not serializable, an exception will be thrown.

Return to top
Show: