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
)
<ExtensionAttribute>
Public Shared Function ToGenericTypeString (
t As Type,
ParamArray arg As Type()
) As String
public:
[ExtensionAttribute]
static String^ ToGenericTypeString(
Type^ t,
... array<Type^>^ arg
)
[<ExtensionAttribute>]
static member ToGenericTypeString :
t : Type *
arg : Type[] -> string
Parameters
- t
- Type: SystemType
The type to get the string for - arg
- Type: SystemType
Internally used parameter (optional)
Return Value
Type:
StringA 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