Documentation de Dvp.NET. Forum : http://www.developpez.net/forums/f1239/applications/projets/projets-heberges/dvp-net/ 
Assembly : Developpez.Dotnet (dans Developpez.Dotnet.dll) Version: 0.6.0.0 (0.6.0.0)
[Ceci est une documentation préliminaire, sous réserve de modification.]
            Convertit une chaine en une valeur d'énumération, en ignorant éventuellement la casse
            
Espace de nom : Developpez.DotnetAssembly : Developpez.Dotnet (dans Developpez.Dotnet.dll) Version: 0.6.0.0 (0.6.0.0)
 Syntaxe
Syntaxe
| C# | 
|---|
| public static T ToEnum<T>( this string stringValue, bool ignoreCase ) where T : struct, new(), IComparable, IFormattable, IConvertible | 
| Visual Basic (Déclaration) | 
|---|
| <ExtensionAttribute> _ Public Shared Function ToEnum(Of T As {Structure, New, IComparable, IFormattable, IConvertible}) ( _ stringValue As String, _ ignoreCase As Boolean _ ) As T | 
| Visual C++ | 
|---|
| public: [ExtensionAttribute] generic<typename T> where T : value class, gcnew(), IComparable, IFormattable, IConvertible static T ToEnum( String^ stringValue, bool ignoreCase ) | 
Paramètres
- stringValue
- Type: System..::..String
 Chaine à convertir
- ignoreCase
- Type: System..::..Boolean
 true pour ignorer la casse, false sinon
 Paramètres de type
Paramètres de type
- T
- Type d'énumération souhaité






