Tao.Lua SDK Documentation

Lua.luaL_getmetafield Method 

Pushes onto the stack the field e from the metatable of the object at index obj. If the object does not have a metatable, or if the metatable does not have this field, returns 0 and pushes nothing.

[Visual Basic]
Public Shared Function luaL_getmetafield( _
   ByVal L As IntPtr, _
   ByVal obj As Integer, _
   ByVal e As String _
) As Integer
[C#]
public static int luaL_getmetafield(
   IntPtr L,
   int obj,
   string e
);

Parameters

L
obj
e

Return Value

See Also

Lua Class | Tao.Lua Namespace