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
声明
Public Sub AssociateVisibilityWith ( _
    store As Store, _
    propertyId As Guid _
)
public void AssociateVisibilityWith(
    Store store,
    Guid propertyId
)
public:
void AssociateVisibilityWith(
    Store^ store, 
    Guid propertyId
)
member AssociateVisibilityWith : 
        store:Store * 
        propertyId:Guid -> unit 
public function AssociateVisibilityWith(
    store : Store, 
    propertyId : Guid
)
Parameters
- store
 Type: Microsoft.VisualStudio.Modeling.Store
 The store to which the shape element is assigned.
- propertyId
 Type: System.Guid
 The ID that is assigned to the domain property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.