共用方式為


ShapeField.AssociateValueWith Method (Store, AssociatedPropertyInfo)

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Sub AssociateValueWith ( _
    store As Store, _
    propertyInfo As AssociatedPropertyInfo _
)
public void AssociateValueWith(
    Store store,
    AssociatedPropertyInfo propertyInfo
)
public:
void AssociateValueWith(
    Store^ store, 
    AssociatedPropertyInfo^ propertyInfo
)
member AssociateValueWith : 
        store:Store * 
        propertyInfo:AssociatedPropertyInfo -> unit 
public function AssociateValueWith(
    store : Store, 
    propertyInfo : AssociatedPropertyInfo
)

Parameters

Remarks

You should use this method when the domain property is a proxy for another domain property.

.NET Framework Security

See Also

Reference

ShapeField Class

AssociateValueWith Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace