ShapeField.AssociateVisibilityWith Method

Definition

Overloads

AssociateVisibilityWith(Store, AssociatedPropertyInfo)

Associates this shape field's visibility with a domain property on the ShapeElement.

AssociateVisibilityWith(Store, Guid)

Associates this shape field's visibility with a domain property on the ShapeElement.

AssociateVisibilityWith(Store, Guid, AssociatedPropertyInfo)

Associates this shape field's visibility with a domain property on the ShapeElement, when the shape is mapped to an instance of the given domain class. Use this method when there are multiple domain classes that this shape field can be mapped to.

AssociateVisibilityWith(Store, AssociatedPropertyInfo)

Associates this shape field's visibility with a domain property on the ShapeElement.

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

Parameters

store
Store
propertyInfo
AssociatedPropertyInfo

Provides information about the property association.

Applies to

AssociateVisibilityWith(Store, Guid)

Associates this shape field's visibility with a domain property on the ShapeElement.

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

Parameters

store
Store
propertyId
Guid

Guid identifying the property to associate.

Applies to

AssociateVisibilityWith(Store, Guid, AssociatedPropertyInfo)

Associates this shape field's visibility with a domain property on the ShapeElement, when the shape is mapped to an instance of the given domain class. Use this method when there are multiple domain classes that this shape field can be mapped to.

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

Parameters

store
Store
domainClassId
Guid

Domain class id.

propertyInfo
AssociatedPropertyInfo

Provides information about the property association.

Applies to