Condividi tramite


RelationshipHasTarget.Target Property

DomainRole Target

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Relationship",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("abce0f02-cad8-4ecb-8021-f224c525df6b")> _
Public Property Target As DomainRole
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Relationship", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("abce0f02-cad8-4ecb-8021-f224c525df6b")]
public DomainRole Target { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Relationship", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::ZeroOne)]
[DomainObjectIdAttribute(L"abce0f02-cad8-4ecb-8021-f224c525df6b")]
public:
property DomainRole^ Target {
    DomainRole^ get ();
    void set (DomainRole^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Relationship", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Target.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DomainObjectIdAttribute("abce0f02-cad8-4ecb-8021-f224c525df6b")>]
member Target : DomainRole with get, set
function get Target () : DomainRole 
function set Target (value : DomainRole)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

RelationshipHasTarget Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace