共用方式為


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 命名空間