Share via


DisposableReference.ReferenceCount Property

Gets the number of reference objects.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim instance As DisposableReference(Of T)
Dim value As UInteger

value = instance.ReferenceCount

Syntax

'Declaration
Public Property ReferenceCount As UInteger
public uint ReferenceCount { get; }
public:
property unsigned int ReferenceCount {
    unsigned int get ();
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public UInt32 get_ReferenceCount ()
CompilerGeneratedAttribute 
public function get ReferenceCount () : uint

Property Value

The number of reference objects.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DisposableReference Class
DisposableReference Members
Microsoft.WindowsAzure.Common.Internals Namespace