IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > UsingBlock Class : Create<T> Method |
'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)
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