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



key
defaultValue
result

Glossary Item Box

Syntax

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

Parameters

key
defaultValue
result

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