Partilhar via


ClassHasProperties.Class Property

DomainRole Class

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

Syntax

'Declaração
<DomainObjectIdAttribute("c413424a-f51c-4fb5-8114-3ee2fc5b1fe2")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Properties",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
Public Property Class As DomainClass
    Get
    Set
[DomainObjectIdAttribute("c413424a-f51c-4fb5-8114-3ee2fc5b1fe2")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Properties", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
public DomainClass Class { get; set; }
[DomainObjectIdAttribute(L"c413424a-f51c-4fb5-8114-3ee2fc5b1fe2")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Properties", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroMany)]
public:
property DomainClass^ Class {
    DomainClass^ get ();
    void set (DomainClass^ value);
}
[<DomainObjectIdAttribute("c413424a-f51c-4fb5-8114-3ee2fc5b1fe2")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Properties", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties/Class.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)>]
member Class : DomainClass with get, set
function get Class () : DomainClass
function set Class (value : DomainClass)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass

.NET Framework Security

See Also

Reference

ClassHasProperties Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace