SoNetBaseGetRegisteredType Method |
Gets the managed type associated with the specified native type name.
Namespace: OIV.InventorAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax public static Type GetRegisteredType(
string nativeTypeName
)
Public Shared Function GetRegisteredType (
nativeTypeName As String
) As Type
public:
static Type^ GetRegisteredType(
String^ nativeTypeName
)
static member GetRegisteredType :
nativeTypeName : string -> Type
Parameters
- nativeTypeName
- Type: SystemString
a managed string of the the native type name.
The native type name can be retrieved using the
::AnSoTypedObject::getClassTypeId().getName().getString()
method call.
Return Value
Type:
Type
the managed type associated with the
nativeTypeName- or -
null if the
nativeTypeName is unknown.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when the name denotes a bad type.
|
Remarks
Gets the managed type associated with the specified native type name.
See Also