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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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