Editor.CopyPasteGeneration 属性

获取或设置 CopyPasteGeneration 字段的特性的值。 启用剪切/复制/粘贴在编辑器中生成的设计器。

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

语法

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/CopyPasteGeneration.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("5215b750-3b1c-49ec-adf6-fdeae14f610c")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/CopyPasteGeneration.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property CopyPasteGeneration As CopyPasteEnabling
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/CopyPasteGeneration.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("5215b750-3b1c-49ec-adf6-fdeae14f610c")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/CopyPasteGeneration.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public CopyPasteEnabling CopyPasteGeneration { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.CopyPasteEnabling

.NET Framework 安全性

请参见

参考

Editor 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间