Gets the fully qualified name of the type, including its namespace but not its assembly.
Assembly: mscorlib (in mscorlib.dll)
Property ValueType: System::String
The fully qualified name of the type, including its namespace but not its assembly; or nullptr if the current instance represents a generic type parameter, an array type, pointer type, or byref type based on a type parameter, or a generic type that is not a generic type definition but contains unresolved type parameters.
For example, the fully qualified name of the String type is System.String. Contrast this with the assembly-qualified name returned by the AssemblyQualifiedName property, which consists of the full name plus the full assembly name.
If the current type represents a closed generic type, the type arguments in the string returned by the property are qualified by their full assembly name, even though the string representation of the generic type itself is not qualified by its full assembly name. The following example illustrates the difference in the FullName property for a type that represents generic type definition and one that represents a closed generic type.
If the current Type represents a type parameter of a generic type, or an array type, pointer type, or byref type based on a type parameter, this property returns nullptr.
If the current type contains generic type parameters that have not been replaced by specific types (that is, the ContainsGenericParameters property returns true), but the type is not a generic type definition (that is, the IsGenericTypeDefinition property returns false), this property returns nullptr. For example, consider the classes Base and Derived in the following code.
If you use the BaseType property to obtain the base type of Derived, the property of the resulting Type object returns nullptr. To get a non-null , you can use the GetGenericTypeDefinition method to get the generic type definition.
This property is read-only.
The following example displays the full name of the specified type.