SoElementGetClassStackIndexE Method |
Returns the stack id for the element type.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public static int GetClassStackIndex<E>()
where E : class, SoElement
Public Shared Function GetClassStackIndex(Of E As {Class, SoElement}) As Integer
public:
generic<typename E>
where E : ref class, SoElement
static int GetClassStackIndex()
static member GetClassStackIndex : unit -> int when 'E : not struct and SoElement
Type Parameters
- E
-
Type of element.
Return Value
Type:
Int32The stack id for the element type.
-or-
-1 if E is an abstract type.
Exceptions Exception | Condition |
---|
[!:System.ArgumentException] |
Thrown when E type does not
define a default constructor.
|
See Also