ClassHasProperties Constructor (DomainClass, DomainProperty)
Constructor Creates a ClassHasProperties link in the same Partition as the given DomainClass
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
source As DomainClass, _
target As DomainProperty _
)
public ClassHasProperties(
DomainClass source,
DomainProperty target
)
public:
ClassHasProperties(
DomainClass^ source,
DomainProperty^ target
)
new :
source:DomainClass *
target:DomainProperty -> ClassHasProperties
public function ClassHasProperties(
source : DomainClass,
target : DomainProperty
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
DomainClass to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
DomainProperty 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.