Click or drag to resize
Accord.NET (logo)

ExtensionMethodsAddressOfT Method

Retrieves the memory address of a generic value type.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
public static IntPtr AddressOf<T>(
	this T t
Request Example View Source


Type: T
The object those address needs to be retrieved.

Type Parameters

The type of the object whose address needs to be retrieved.

Return Value

Type: IntPtr

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also