共用方式為


Decorator.AssociateVisibilityWith Method (Store, AssociatedPropertyInfo)

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Sub AssociateVisibilityWith ( _
    store As Store, _
    propertyInfo As AssociatedPropertyInfo _
)
public void AssociateVisibilityWith(
    Store store,
    AssociatedPropertyInfo propertyInfo
)
public:
void AssociateVisibilityWith(
    Store^ store, 
    AssociatedPropertyInfo^ propertyInfo
)
member AssociateVisibilityWith : 
        store:Store * 
        propertyInfo:AssociatedPropertyInfo -> unit 
public function AssociateVisibilityWith(
    store : Store, 
    propertyInfo : AssociatedPropertyInfo
)

Parameters

.NET Framework Security

See Also

Reference

Decorator Class

AssociateVisibilityWith Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace