
Tag property
Tag for misc usage.
Type
Object.Syntax
- C#
- C++
- VB.NET
void devP2P.SetTag(IntPtr Handle, object Value);
The Tag(Handle,value) syntax has these parts:
object devP2P.GetTag(IntPtr Handle);
The Tag(Handle) syntax has these parts:
The Tag(Handle,value) syntax has these parts:
Handle | Reference to the devP2P instance. |
value | Object that holds your data. |
object devP2P.GetTag(IntPtr Handle);
The Tag(Handle) syntax has these parts:
Handle | Reference to the devP2P instance. |
Return value | Object that holds your data. |
void *Tag = value;
The Tag(value) syntax has these parts:
The Tag(value) syntax has these parts:
value | Pointer to your own custom data. |
Sub P2P_SetTag(ByVal Handle As IntPtr, ByVal Value As Object)
The Tag(Handle,value) syntax has these parts:
Function P2P_GetTag(ByVal Handle As IntPtr) As Object
The Tag(Handle) syntax has these parts:
The Tag(Handle,value) syntax has these parts:
Handle | Reference to the devP2P instance. |
value | Object that holds your data. |
Function P2P_GetTag(ByVal Handle As IntPtr) As Object
The Tag(Handle) syntax has these parts:
Handle | Reference to the devP2P instance. |
Return value | Object that holds your data. |
Remarks
You can use this property to store pointer to your own custom data that will be kept by devP2P. devP2P will not interfere with this value in any way (it will not, for example, try to free that memory).Platforms
WindowsMac OSX
Linux
BSD