DevForce Help Reference
Create<T> Method (UsingBlock)


Create a UsingBlock.
Syntax
'Declaration
 
Public Shared Function Create(Of T)( _
   ByVal origValue As T, _
   ByVal tempValue As T, _
   ByVal action As Action(Of T) _
) As UsingBlock
'Usage
 
Dim origValue As T
Dim tempValue As T
Dim action As Action(Of T)
Dim value As UsingBlock
 
value = UsingBlock.Create(Of T)(origValue, tempValue, action)
public static UsingBlock Create<T>( 
   T origValue,
   T tempValue,
   Action<T> action
)

Parameters

origValue
tempValue
action

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

Reference

UsingBlock Class
UsingBlock Members

Send Feedback