PathSegment Constructor (Partition, DomainRole, PathSegmentInterpretation)
Construct a segment with a specified role an interpretation
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Sub New ( _
partition As Partition, _
role As DomainRole, _
interpretation As PathSegmentInterpretation _
)
public PathSegment(
Partition partition,
DomainRole role,
PathSegmentInterpretation interpretation
)
public:
PathSegment(
Partition^ partition,
DomainRole^ role,
PathSegmentInterpretation interpretation
)
new :
partition:Partition *
role:DomainRole *
interpretation:PathSegmentInterpretation -> PathSegment
public function PathSegment(
partition : Partition,
role : DomainRole,
interpretation : PathSegmentInterpretation
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
- interpretation
Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentInterpretation
.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.