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