Decorator.AssociateValueWith Method (Store, AssociatedPropertyInfo)
Associates the decorator with a store property that is assigned to the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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
store
Type: Microsoft.VisualStudio.Modeling.StoreThe in-memory store that is assigned to the shape.
propertyInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfoThe property in the in-memory store.
.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.