|
ExtensionMethodsAddressOfT Method
|
Retrieves the memory address of a generic value type.
Namespace:
Accord
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static IntPtr AddressOf<T>(
this T t
)
<ExtensionAttribute>
Public Shared Function AddressOf(Of T) (
t As T
) As IntPtr
Request Example
View SourceParameters
- t
- Type: T
The object those address needs to be retrieved.
Type Parameters
- T
- The type of the object whose address needs to be retrieved.
Return Value
Type:
IntPtrUsage 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