Cuemon .NET Framework
FromType(Type,Boolean,Boolean) Method

The type to sanitize the name from.
Specify true to use the fully qualified name of the source; otherwise, false for the simple name of source.
Specify true to exclude generic arguments from the result; otherwise false to include generic arguments should the source be a generic type.
Converts the name of the source with the intend to be understood by humans.
Syntax
'Declaration
 
Public Overloads Shared Function FromType( _
   ByVal source As Type, _
   ByVal fullName As Boolean, _
   ByVal excludeGenericArguments As Boolean _
) As String

Parameters

source
The type to sanitize the name from.
fullName
Specify true to use the fully qualified name of the source; otherwise, false for the simple name of source.
excludeGenericArguments
Specify true to exclude generic arguments from the result; otherwise false to include generic arguments should the source be a generic type.

Return Value

A sanitized System.String representation of source.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringConverter Class
StringConverter Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback