共用方式為


IDomainModelSerializer.IsSerializable Property

If this property is false, then calling the load / save methods will result in a NotImplementedException. Domain model libraries cannot be serialized directly.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
ReadOnly Property IsSerializable As Boolean
    Get
bool IsSerializable { get; }
property bool IsSerializable {
    bool get ();
}
abstract IsSerializable : bool
function get IsSerializable () : boolean

Property Value

Type: System.Boolean

Remarks

Domain model libraries cannot be serialized directly, and will return false.

.NET Framework Security

See Also

Reference

IDomainModelSerializer Interface

Microsoft.VisualStudio.Modeling Namespace