共用方式為


DslDefinitionModelDomainModelSerializerBase.ModelFileExtension Property

File extension used for model files of this kind of domain model

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

Syntax

'宣告
Public ReadOnly Property ModelFileExtension As String
    Get
public string ModelFileExtension { get; }
public:
virtual property String^ ModelFileExtension {
    String^ get () sealed;
}
abstract ModelFileExtension : string
override ModelFileExtension : string
final function get ModelFileExtension () : String

Property Value

Type: System.String

Implements

IDomainModelSerializer.ModelFileExtension

Remarks

If a domain model type cannot be serialized independently, or cannot be serialized to a file, it should return null or empty.

.NET Framework Security

See Also

Reference

DslDefinitionModelDomainModelSerializerBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace