Edit

Share via


IAccessor.AddRefAccessor(Int32, Int32) Method

Definition

Adds a reference count to an existing accessor.

public:
 void AddRefAccessor(int hAccessor, [Runtime::InteropServices::Out] int % cRefCount);
public void AddRefAccessor (int hAccessor, out int cRefCount);
abstract member AddRefAccessor : int * int -> unit
Public Sub AddRefAccessor (hAccessor As Integer, ByRef cRefCount As Integer)

Parameters

hAccessor
Int32

The handle of the accessor for which to increment the reference count.

cRefCount
Int32

A pointer to memory in which to return the reference count of the accessor handle. If cRefCount is a null pointer, no reference count is returned.

Remarks

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to