TypeNameDiscriminatorGetDiscriminator Method |
Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs).
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax public static string GetDiscriminator(
Type type
)
Public Shared Function GetDiscriminator (
type As Type
) As String
static member GetDiscriminator :
type : Type -> string
Parameters
- type
- Type: SystemType
The type.
Return Value
Type:
StringThe type name.
See Also