Associates the visibility of the decorator with a store property that is assigned to a shape.
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, _
propertyInfo As AssociatedPropertyInfo _
)
'使用
Dim instance As Decorator
Dim store As Store
Dim propertyInfo As AssociatedPropertyInfo
instance.AssociateVisibilityWith(store, _
propertyInfo)
public void AssociateVisibilityWith(
Store store,
AssociatedPropertyInfo propertyInfo
)
public:
void AssociateVisibilityWith(
Store^ store,
AssociatedPropertyInfo^ propertyInfo
)
public function AssociateVisibilityWith(
store : Store,
propertyInfo : AssociatedPropertyInfo
)
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe in-memory store that is assigned to the shape.
propertyInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfoThe property in the in-memory store.
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.