PropertyHasType Constructor (DomainProperty, DomainType)
Constructor Creates a PropertyHasType link in the same Partition as the given DomainProperty
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 ( _
source As DomainProperty, _
target As DomainType _
)
public PropertyHasType(
DomainProperty source,
DomainType target
)
public:
PropertyHasType(
DomainProperty^ source,
DomainType^ target
)
new :
source:DomainProperty *
target:DomainType -> PropertyHasType
public function PropertyHasType(
source : DomainProperty,
target : DomainType
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
DomainProperty to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainType
DomainType 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.