Click or drag to resize
SoNetBaseRegisterTypeManagedType Method
Associates a native type name with a managed type.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public static void RegisterType<ManagedType>(
	string nativeTypeName
)
where ManagedType : SoNetBase

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.

Type Parameters

ManagedType
the associated managed type.
Exceptions
ExceptionCondition
ArgumentException Thrown when the name denotes a bad type

- or -

when a type with the same name already exists.
Remarks
Associates a native type name with a managed type.
See Also