←Select platform

Parse<T>(String,Boolean) Method

Summary

Parses the specified string to an enumeration allowing for a case insensitive comparison.

Syntax

C#
VB
C++
[ExtensionAttribute()] 
public static T Parse<_T_>(  
   string value, 
   bool ignoreCase 
) 
<ExtensionAttribute()> 
Public Overloads Shared Function Parse(Of T)( _ 
   ByVal value As String, _ 
   ByVal ignoreCase As Boolean _ 
) As T 
[ExtensionAttribute()] 
public: 
static _T^_ Parsegeneric<typename T> 
(  
   String^ value, 
   bool ignoreCase 
)  

Parameters

value
The string to parse.

ignoreCase
true to ignore case during string comparison.

Type Parameters

T
The enumeration type

Return Value

The enumeration value that corresponds to the string.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.Common Assembly
Click or drag to resize