T
IdeaBlade DevForce 2010 Help Reference
Create<T> Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > UsingBlock Class : Create<T> Method



origValue
tempValue
action
Create a UsingBlock.

Syntax

Visual Basic (Declaration) 
Public Shared Function Create(Of T)( _
   ByVal origValue As T, _
   ByVal tempValue As T, _
   ByVal action As Action(Of T) _
) As UsingBlock
Visual Basic (Usage)Copy Code
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)
C# 
public static UsingBlock Create<T>( 
   T origValue,
   T tempValue,
   Action<T> action
)
C++/CLI 
public:
static UsingBlock^ Creategeneric<typename T>
( 
   T^ origValue,
   T^ tempValue,
   Action<T^>^ action
) 

Parameters

origValue
tempValue
action

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.