Skip to main content
.NET 6.0+

ModelBOModelClassNodesGenerator.GetTypeId(Type) Method

Returns an identifier of a given type.

Namespace: DevExpress.ExpressApp.Model.NodeGenerators

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public static string GetTypeId(
    Type type
)

Parameters

Name Type Description
type Type

A System.Type object.

Returns

Type Description
String

A string identifier of a given type.

Remarks

The GetTypeId method throws an ArgumentException if the passed type contains generic parameters (see Type.ContainsGenericParameters).

See Also