TYPE
The type that can be transformed by the delegates
CSharpTest.Net
Add<TYPE> Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Utils Namespace > StringConverter Class : Add<TYPE> Method

tryParse
A delegate method to convert from a string
toString
A delegate method to convert to a string

Glossary Item Box

Adds a converter for the type TYPE that can transform the TYPE to and from a string

Syntax

Visual Basic (Declaration) 
Public Sub Add(Of TYPE)( _
   ByVal tryParse As CSharpTest.Net.Utils.StringConverter.TryParseMethod(Of TYPE), _
   ByVal toString As Converter(Of TYPE,String) _
) 
C# 
public void Add<TYPE>( 
   CSharpTest.Net.Utils.StringConverter.TryParseMethod<TYPE> tryParse,
   Converter<TYPE,string> toString
)

Parameters

tryParse
A delegate method to convert from a string
toString
A delegate method to convert to a string

Type Parameters

TYPE
The type that can be transformed by the delegates

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Reference

StringConverter Class
StringConverter Members
StringConverter.TryParseMethod

Source Code

Library/Utils/StringCoverter.cs

Generated with Document! X 2011 by Innovasys