T
GetConvertedValue<T>(String,T) Method
See Also 
SourceCode Namespace > ConnectionStringBuilderBase Class > GetConvertedValue Method : GetConvertedValue<T>(String,T) Method



key
defaultValue

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Protected Overloads Function GetConvertedValue(Of T)( _
   ByVal key As String, _
   ByVal defaultValue As T _
) As T
Visual Basic (Usage) Copy Code
Dim instance As ConnectionStringBuilderBase
Dim key As String
Dim defaultValue As T
Dim value As T
 
value = instance.GetConvertedValue(Of T)(key, defaultValue)
C#  
protected T GetConvertedValue<T>( 
   string key,
   T defaultValue
)
C++/CLI  
protected:
T^ GetConvertedValuegeneric<typename T>
( 
   String^ key,
   T^ defaultValue
) 

Parameters

key
defaultValue

Type Parameters

T

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