共用方式為


LinkConnectDirectiveHasSourceDirectives.SourceDirective 屬性

DomainRole SourceDirective 連結連線指示詞,這是原始檔指示詞。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceDirective.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "SourceOf", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceDirective.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("c2c576cb-c305-4764-b561-185b4965fb7b")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceDirective.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property SourceDirective As RolePlayerConnectDirective
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceDirective.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "SourceOf", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceDirective.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("c2c576cb-c305-4764-b561-185b4965fb7b")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives/SourceDirective.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public RolePlayerConnectDirective SourceDirective { get; set; }

屬性值

型別:Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective

.NET Framework 安全性

請參閱

參考

LinkConnectDirectiveHasSourceDirectives 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間