DslEditorIdentifiesRootClass.RootFor 属性

DomainRole RootFor 定义元素的根类表示由位资源管理器的顶部节点和 XML 的根文档保存模型。

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

语法

声明
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "RootClass", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.One)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("e6d87fb6-aa59-4712-96c0-5110402cd17f")> _
Public Property RootFor As Editor
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "RootClass", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootFor.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("e6d87fb6-aa59-4712-96c0-5110402cd17f")]
public Editor RootFor { get; set; }

属性值

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

.NET Framework 安全性

请参见

参考

DslEditorIdentifiesRootClass 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间