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 - пространство имен