共用方式為


LinkConnectDirectiveHasSourceDirectives.SourceOf Property

DomainRole SourceOf Role directives specifying how a an element is connected to the source of a link.

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

Syntax

'宣告
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "SourceDirectives",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.OneMany)> _
<DomainObjectIdAttribute("c7c4496b-b2b3-434f-b026-8a4bc5223cf5")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property SourceOf As LinkConnectDirective
    Get
    Set
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "SourceDirectives", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.OneMany)]
[DomainObjectIdAttribute("c7c4496b-b2b3-434f-b026-8a4bc5223cf5")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public LinkConnectDirective SourceOf { get; set; }
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"SourceDirectives", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::OneMany)]
[DomainObjectIdAttribute(L"c7c4496b-b2b3-434f-b026-8a4bc5223cf5")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property LinkConnectDirective^ SourceOf {
    LinkConnectDirective^ get ();
    void set (LinkConnectDirective^ value);
}
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "SourceDirectives", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.OneMany)>]
[<DomainObjectIdAttribute("c7c4496b-b2b3-434f-b026-8a4bc5223cf5")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceOf.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member SourceOf : LinkConnectDirective with get, set
function get SourceOf () : LinkConnectDirective
function set SourceOf (value : LinkConnectDirective)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirective

.NET Framework Security

See Also

Reference

LinkConnectDirectiveHasSourceDirectives Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace