Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub CenterVertically ( _
topSibling As NodeShape, _
topSiblingSide As AnchoringBehavior..::.Edge, _
bottomSibling As ShapeField, _
bottomSiblingSide As AnchoringBehavior..::.Edge _
)
'使用
Dim instance As AnchoringBehavior
Dim topSibling As NodeShape
Dim topSiblingSide As AnchoringBehavior..::.Edge
Dim bottomSibling As ShapeField
Dim bottomSiblingSide As AnchoringBehavior..::.Edge
instance.CenterVertically(topSibling, _
topSiblingSide, bottomSibling, bottomSiblingSide)
public void CenterVertically(
NodeShape topSibling,
AnchoringBehavior..::.Edge topSiblingSide,
ShapeField bottomSibling,
AnchoringBehavior..::.Edge bottomSiblingSide
)
public:
void CenterVertically(
NodeShape^ topSibling,
AnchoringBehavior..::.Edge topSiblingSide,
ShapeField^ bottomSibling,
AnchoringBehavior..::.Edge bottomSiblingSide
)
public function CenterVertically(
topSibling : NodeShape,
topSiblingSide : AnchoringBehavior..::.Edge,
bottomSibling : ShapeField,
bottomSiblingSide : AnchoringBehavior..::.Edge
)
Parameters
- topSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- topSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- bottomSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- bottomSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
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.