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