Click or drag to resize

TypeExtensionsToGenericTypeString Method

Gets a string representation of a Type corresponding to how it looks in C# code

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public static string ToGenericTypeString(
	this Type t,
	params Type[] arg
)

Parameters

t
Type: SystemType
The type to get the string for
arg
Type: SystemType
Internally used parameter (optional)

Return Value

Type: String
A string representation of a 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).
See Also