This documentation is archived and is not being maintained.

ShapeField.SetVisible Method

Sets the visibility of the shape field.

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

public virtual void SetVisible(
	ShapeElement parentShape,
	Object value
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The shape element to which the shape field is assigned.

value
Type: System.Object

The visibility of the shape field.

Show: