Click or drag to resize
TypeExtensionMethodsGetFullTypeName Method
Gets the full type name, of the format: Type.Fullname, assembly name. If the assembly is signed, the full assembly name is added, otherwise just the assembly name, not the version, public key token or culture.

Namespace:  SD.Tools.BCLExtensions.SystemRelated
Assembly:  SD.Tools.BCLExtensions (in SD.Tools.BCLExtensions.dll) Version: 1.0.0.0 (1.0.10.1127)
Syntax
public static string GetFullTypeName(
	this Type type
)

Parameters

type
Type: SystemType
The type of which the full name should be obtained.

Return Value

Type: String
full type name. If the type is a .NET system type (e.g. is located in mscorlib or namespace starts with Microsoft. or System.) the FullTypeName is equal to the FullName of the type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Use this method if you need to store the type's full name in a string for re-instantiation later on with Activator.CreateInstance.
See Also