PathSegmentReferencesRole Constructor (PathSegment, DomainRole)
Constructor Creates a PathSegmentReferencesRole link in the same Partition as the given PathSegment
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
source As PathSegment, _
target As DomainRole _
)
public PathSegmentReferencesRole(
PathSegment source,
DomainRole target
)
public:
PathSegmentReferencesRole(
PathSegment^ source,
DomainRole^ target
)
new :
source:PathSegment *
target:DomainRole -> PathSegmentReferencesRole
public function PathSegmentReferencesRole(
source : PathSegment,
target : DomainRole
)
Parameters
source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentPathSegment to use as the source of the relationship.
target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleDomainRole to use as the target of the relationship.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PathSegmentReferencesRole Class