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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub AssociateVisibilityWith ( _
store As Store, _
propertyId As Guid _
)
'使用
Dim instance As ShapeField
Dim store As Store
Dim propertyId As Guid
instance.AssociateVisibilityWith(store, _
propertyId)
public void AssociateVisibilityWith(
Store store,
Guid propertyId
)
public:
void AssociateVisibilityWith(
Store^ store,
Guid propertyId
)
public function AssociateVisibilityWith(
store : Store,
propertyId : Guid
)
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe store to which the shape element is assigned.
propertyId
Type: System.GuidThe ID that is assigned to the domain property.
Permissions
- 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.