共用方式為


Decorator.AssociateValueWith Method

Definition

Overloads

AssociateValueWith(Store, AssociatedPropertyInfo)

Associates this decorator with a domain property.

AssociateValueWith(Store, Guid)

Associates this decorator with an IMS property on the ShapeElement hosting the decorator.

AssociateValueWith(Store, Guid, AssociatedPropertyInfo)

AssociateValueWith(Store, AssociatedPropertyInfo)

Associates this decorator with a domain property.

public:
 void AssociateValueWith(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Diagrams::AssociatedPropertyInfo ^ propertyInfo);
public void AssociateValueWith (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfo propertyInfo);
member this.AssociateValueWith : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfo -> unit
Public Sub AssociateValueWith (store As Store, propertyInfo As AssociatedPropertyInfo)

Parameters

store
Store
propertyInfo
AssociatedPropertyInfo

Provides information about the property association.

Applies to

AssociateValueWith(Store, Guid)

Associates this decorator with an IMS property on the ShapeElement hosting the decorator.

public:
 void AssociateValueWith(Microsoft::VisualStudio::Modeling::Store ^ store, Guid propertyId);
public void AssociateValueWith (Microsoft.VisualStudio.Modeling.Store store, Guid propertyId);
member this.AssociateValueWith : Microsoft.VisualStudio.Modeling.Store * Guid -> unit
Public Sub AssociateValueWith (store As Store, propertyId As Guid)

Parameters

store
Store
propertyId
Guid

Applies to

AssociateValueWith(Store, Guid, AssociatedPropertyInfo)

public:
 void AssociateValueWith(Microsoft::VisualStudio::Modeling::Store ^ store, Guid domainClassId, Microsoft::VisualStudio::Modeling::Diagrams::AssociatedPropertyInfo ^ propertyInfo);
public void AssociateValueWith (Microsoft.VisualStudio.Modeling.Store store, Guid domainClassId, Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfo propertyInfo);
member this.AssociateValueWith : Microsoft.VisualStudio.Modeling.Store * Guid * Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfo -> unit
Public Sub AssociateValueWith (store As Store, domainClassId As Guid, propertyInfo As AssociatedPropertyInfo)

Parameters

store
Store
domainClassId
Guid
propertyInfo
AssociatedPropertyInfo

Applies to