Parse Method
See Also 
SourceCode.Framework Namespace > EnumParser<T> Class : Parse Method



candidate
ignoreCase

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Shared Function Parse( _
   ByVal candidate As String, _
   Optional ByVal ignoreCase As Boolean _
) As T
Visual Basic (Usage) Copy Code
Dim candidate As String
Dim ignoreCase As Boolean
Dim value As T
 
value = EnumParser(Of T).Parse(candidate, ignoreCase)
C#  
public static T Parse( 
   string candidate,
   bool ignoreCase
)
C++/CLI  
public:
static T^ Parse( 
   String^ candidate,
   bool ignoreCase
) 

Parameters

candidate
ignoreCase

Requirements

Target Platforms: 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