Sets the specified value.

Namespace: Cudafy.Host
Assembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172

Syntax

C#
public static void Set(
	this IntPtr ptr,
	int offset,
	float value
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub Set ( _
	ptr As IntPtr, _
	offset As Integer, _
	value As Single _
)
Visual C++
[ExtensionAttribute]
public:
static void Set(
	IntPtr ptr, 
	int offset, 
	float value
)

Parameters

ptr
Type: System..::..IntPtr
The PTR.
offset
Type: System..::..Int32
The offset.
value
Type: System..::..Single
The value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IntPtr. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also