Partager via


ShapeField.AssociateVisibilityWith Method (Store, Guid, AssociatedPropertyInfo)

Associates the visibility of the shape field with a domain property that is assigned to a shape element.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Sub AssociateVisibilityWith ( _
    store As Store, _
    domainClassId As Guid, _
    propertyInfo As AssociatedPropertyInfo _
)
public void AssociateVisibilityWith(
    Store store,
    Guid domainClassId,
    AssociatedPropertyInfo propertyInfo
)
public:
void AssociateVisibilityWith(
    Store^ store, 
    Guid domainClassId, 
    AssociatedPropertyInfo^ propertyInfo
)
member AssociateVisibilityWith : 
        store:Store * 
        domainClassId:Guid * 
        propertyInfo:AssociatedPropertyInfo -> unit 
public function AssociateVisibilityWith(
    store : Store, 
    domainClassId : Guid, 
    propertyInfo : AssociatedPropertyInfo
)

Parameters

  • domainClassId
    Type: System.Guid
    The ID that is assigned to the shape element.

.NET Framework Security

See Also

Reference

ShapeField Class

AssociateVisibilityWith Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace