public static string GetName(
this Type type,
TypeNameKind kind
)
<ExtensionAttribute>
Public Shared Function GetName (
type As Type,
kind As TypeNameKind
) As String
public:
[ExtensionAttribute]
static String^ GetName(
Type^ type,
TypeNameKind kind
)
[<ExtensionAttribute>]
static member GetName :
type : Type *
kind : TypeNameKind -> string
See the values of the TypeNameKind enum for the detailed differences from Type members such as Name, FullName and AssemblyQualifiedName.
Unlike the Type properties, the names produced by this method are never for runtime types.
This method always provides parseable type names by using the AssemblyQualifiedName kind. If the type contains generic arguments, then the result will be able to be parsed by the Reflector.ResolveType method.