共用方式為


DslEditorIdentifiesRootClass.RootClass 屬性

DomainRole RootClass

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootClass.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootClass.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "RootFor", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootClass.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("806acff6-c903-4b24-9491-04011b9a3451")> _
Public Property RootClass As DomainClass
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootClass.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootClass.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "RootFor", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass/RootClass.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("806acff6-c903-4b24-9491-04011b9a3451")]
public DomainClass RootClass { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass

.NET Framework 安全性

請參閱

參考

DslEditorIdentifiesRootClass 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間