Back to product page

Tag property


Tag for misc usage.

Type

Object.

Syntax

  • C#
  • C++
  • VB.NET
void devP2P.ForwardUser_SetTag(IntPtr Handle, object Value);
The Tag(UserHandle,Value) syntax has these parts:
UserHandleReference to the CP2PForwardUser instance.
ValueYour object with custom data.

object devP2P.ForwardUser_GetTag(IntPtr Handle);
The Tag(UserHandle) syntax has these parts:
UserHandleReference to the CP2PForwardUser instance.
Return valueYour object with custom data.

void *Tag = value;
The Tag(value) syntax has these parts:
valuePointer to your own custom data.

Sub P2PForwardUser_SetTag(ByVal UserHandle As IntPtr, ByVal Value As Object)
The Tag(UserHandle,value) syntax has these parts:
UserHandleReference to the CP2PForwardUser instance.
valueYour object with custom data.

Function P2PForwardUser_GetTag(ByVal UserHandle As IntPtr) As Object
The Tag(UserHandle) syntax has these parts:
UserHandleReference to the CP2PForwardUser instance.
Return valueYour object with custom data.

Remarks

Custom data that is kept by this user instance.

Platforms

Windows
Mac OSX
Linux
BSD