共用方式為


Decorator.AssociateValueWith Method (Store, Guid)

Associates the decorator with a store property that is assigned to the shape.

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, _
    propertyId As Guid _
)
public void AssociateValueWith(
    Store store,
    Guid propertyId
)
public:
void AssociateValueWith(
    Store^ store, 
    Guid propertyId
)
member AssociateValueWith : 
        store:Store * 
        propertyId:Guid -> unit 
public function AssociateValueWith(
    store : Store, 
    propertyId : Guid
)

Parameters

  • propertyId
    Type: System.Guid
    The ID that is assigned to a property in the in-memory store.

.NET Framework Security

See Also

Reference

Decorator Class

AssociateValueWith Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace