다음을 통해 공유


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)

Syntax

‘선언
Public Property IsSerializable As Boolean
public bool IsSerializable { get; set; }

Property Value

Type: System.Boolean
true if the resulting virtual type is serializable, otherwise false.

Remarks

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.

.NET Framework Security

See Also

Reference

VirtualTypeBuilder Class

Microsoft.VisualStudio.Shell.Design Namespace

InvokeConstructor