Associates the shape field with a domain property that is assigned to a shape element.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub AssociateValueWith ( _
store As Store, _
domainClassId As Guid, _
propertyInfo As AssociatedPropertyInfo _
)
'使用
Dim instance As ShapeField
Dim store As Store
Dim domainClassId As Guid
Dim propertyInfo As AssociatedPropertyInfo
instance.AssociateValueWith(store, domainClassId, _
propertyInfo)
public void AssociateValueWith(
Store store,
Guid domainClassId,
AssociatedPropertyInfo propertyInfo
)
public:
void AssociateValueWith(
Store^ store,
Guid domainClassId,
AssociatedPropertyInfo^ propertyInfo
)
public function AssociateValueWith(
store : Store,
domainClassId : Guid,
propertyInfo : AssociatedPropertyInfo
)
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe store to which the shape element is assigned.
domainClassId
Type: System.GuidThe ID that is assigned to the shape element.
propertyInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfoThe domain property.
Remarks
You should use this method when the domain property is a proxy for another domain property.
Permissions
- 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.