Tao.Lua SDK Documentation

Lua.lua_setmetatable Method 

Pops a table from the stack and sets it as the new metatable for the value at the given acceptable index.

[Visual Basic]
Public Shared Function lua_setmetatable( _
   ByVal L As IntPtr, _
   ByVal objindex As Integer _
) As Integer
[C#]
public static int lua_setmetatable(
   IntPtr L,
   int objindex
);

Parameters

L
objindex

Return Value

See Also

Lua Class | Tao.Lua Namespace