Method GetActualType

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization

Assembly

MongoDB.Bson.dll

GetActualType(string)

Resolves a type name discriminator.

public static Type GetActualType(string typeName)

Parameters

typeName string

The type name.

Returns

Type

The type if type type name can be resolved; otherwise, null.