Editor.FileExtension 属性

获取或设置 FileExtension 字段的特性的值。 编辑签入文件扩展名。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DomainObjectIdAttribute("28804ca3-699e-45c0-bf41-8e7492a2f68c")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/FileExtension.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/FileExtension.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/FileExtension.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property FileExtension As String
[DomainObjectIdAttribute("28804ca3-699e-45c0-bf41-8e7492a2f68c")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/FileExtension.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/FileExtension.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/FileExtension.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string FileExtension { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

Editor 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间