ReferencedObjectCollection.GetOrAddReference(Object, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.