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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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