共用方式為


DiagramHasBaseDiagram.BaseDiagram Property

DomainRole BaseDiagram

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
<DomainObjectIdAttribute("520d51b8-be4a-4f1f-832d-4e77640b9d34")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "SubClasses",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
Public Property BaseDiagram As Diagram
    Get
    Set
[DomainObjectIdAttribute("520d51b8-be4a-4f1f-832d-4e77640b9d34")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "SubClasses", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
public Diagram BaseDiagram { get; set; }
[DomainObjectIdAttribute(L"520d51b8-be4a-4f1f-832d-4e77640b9d34")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"SubClasses", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::ZeroMany)]
public:
property Diagram^ BaseDiagram {
    Diagram^ get ();
    void set (Diagram^ value);
}
[<DomainObjectIdAttribute("520d51b8-be4a-4f1f-832d-4e77640b9d34")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "SubClasses", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram/BaseDiagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)>]
member BaseDiagram : Diagram with get, set
function get BaseDiagram () : Diagram
function set BaseDiagram (value : Diagram)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram

.NET Framework Security

See Also

Reference

DiagramHasBaseDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace