共用方式為


DslHasDiagram.Dsl Property

DomainRole Dsl Diagram defined by the DSL.

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

Syntax

'宣告
<DomainObjectIdAttribute("db89487b-89a3-49b2-a510-d8dac9422602")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Diagram", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Dsl As Dsl
    Get
    Set
[DomainObjectIdAttribute("db89487b-89a3-49b2-a510-d8dac9422602")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Diagram", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public Dsl Dsl { get; set; }
[DomainObjectIdAttribute(L"db89487b-89a3-49b2-a510-d8dac9422602")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Diagram", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroOne)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property Dsl^ Dsl {
    Dsl^ get ();
    void set (Dsl^ value);
}
[<DomainObjectIdAttribute("db89487b-89a3-49b2-a510-d8dac9422602")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Diagram", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Dsl.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member Dsl : Dsl with get, set
function get Dsl () : Dsl
function set Dsl (value : Dsl)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.Dsl

.NET Framework Security

See Also

Reference

DslHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace