Edit

Share via


ReferencedObjectCollection.GetOrAddReference(Object, UInt32) Method

Definition

Gets or adds a reference.

public bool GetOrAddReference (object value, out uint reference);
member this.GetOrAddReference : obj * uint32 -> bool
Public Function GetOrAddReference (value As Object, ByRef reference As UInteger) As Boolean

Parameters

value
Object

The value.

reference
UInt32

The reference.

Returns

true if a reference already existed, false otherwise.

Applies to