Leadtools.Dicom.Common

Parse<T>(String,Boolean) Method

Show in webframe





The enumeration type
The string to parse.
if set to true ignore case during string comparison.
Parses the specified string to an enumeration allowing for a case insensitve comparison.
Syntax
[ExtensionAttribute()]
public static T Parse<T>( 
   string value,
   bool ignoreCase
)
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function Parse(Of T)( _
   ByVal value As String, _
   ByVal ignoreCase As Boolean _
) As T
'Usage
 
Dim value As String
Dim ignoreCase As Boolean
Dim value As T
 
value = GeneralExtensions.Parse(Of T)(value, ignoreCase)

            

            
[ExtensionAttribute()]
public:
static T^ Parsegeneric<typename T>
( 
   String^ value,
   bool ignoreCase
) 

Parameters

value
The string to parse.
ignoreCase
if set to true ignore case during string comparison.

Type Parameters

T
The enumeration type

Return Value

The enumeration value that corresponds to the string.
Requirements

Target Platforms

See Also

Reference

GeneralExtensions Class
GeneralExtensions Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features