This document is archived and information here might be outdated. Recommended version. |
The degree of the node.
[Visual Basic .NET] Public Function get_Degree ( _ ByVal bEnforcedEdgesOnly As Boolean _ ) As Integer
[C#] public int get_Degree ( bool bEnforcedEdgesOnly );
[C++]
HRESULT get_Degree(
VARIANT_BOOL bEnforcedEdgesOnly,
System.Int32* pDegree
);
[C++]
Parameters bEnforcedEdgesOnly [in]
bEnforcedEdgesOnly is a parameter of type bool pDegree [out, retval]
pDegree is a parameter of type long*
The degree of a node is the number of edges that are incident to it.
When EnforcedEdgesOnly is set to TRUE only the number of incident edges that are classified as either hard or soft is returned. When set to FALSE all edges are used regardless of type.
A SingleEdge interpretation is used by this property.