Decorator.AssociateVisibilityWith Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AssociateVisibilityWith(Store, AssociatedPropertyInfo) |
Associates this decorator's visibility with domain property. |
AssociateVisibilityWith(Store, Guid) |
Associates this decorator's visibility with an IMS property on the ShapeElement hosting the decorator. |
AssociateVisibilityWith(Store, Guid, AssociatedPropertyInfo) |
Associates this decorator's visibility with a domain property, when the shape is mapped to an instance of the given domain class. Use this method when there are multiple domain classes that this decorator can be mapped to. |
AssociateVisibilityWith(Store, AssociatedPropertyInfo)
Associates this decorator's visibility with domain property.
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 decorator's visibility with an IMS property on the ShapeElement hosting the decorator.
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
The guid of a Property on a ShapeElement.
Applies to
AssociateVisibilityWith(Store, Guid, AssociatedPropertyInfo)
Associates this decorator's visibility with a domain property, when the shape is mapped to an instance of the given domain class. Use this method when there are multiple domain classes that this decorator 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.