Поделиться через


DiagramRepresentsClass.Diagram - свойство

Схема DomainRole класс элемента, представленный в схеме.

Пространство имен:  Microsoft.VisualStudio.Modeling.DslDefinition
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Синтаксис

'Декларация
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Class", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("22bf5ffd-7862-45ca-a455-ad29fe360dbb")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Diagram As Diagram
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("22bf5ffd-7862-45ca-a455-ad29fe360dbb")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public Diagram Diagram { get; set; }

Значение свойства

Тип: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram

Безопасность платформы .NET Framework

См. также

Ссылки

DiagramRepresentsClass Класс

Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен