AddRef Method
See Also 
SourceCode.Threading Namespace > LockItem<TKey,TValue> Class : AddRef Method



Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function AddRef() As Integer
Visual Basic (Usage) Copy Code
Dim instance As LockItem(Of TKey,TValue)
Dim value As Integer
 
value = instance.AddRef()
C#  
public int AddRef()
C++/CLI  
public:
int AddRef(); 

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