| TerminalBlockExtentionsHasInventory Method | 
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Note: This API is now obsolete.
 
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntax[ObsoleteAttribute("Use the HasInventory property.")]
public static bool HasInventory(
	this IMyTerminalBlock block
)<ExtensionAttribute>
<ObsoleteAttribute("Use the HasInventory property.")>
Public Shared Function HasInventory ( 
	block As IMyTerminalBlock
) As Booleanpublic:
[ExtensionAttribute]
[ObsoleteAttribute(L"Use the HasInventory property.")]
static bool HasInventory(
	IMyTerminalBlock^ block
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("Use the HasInventory property.")>]
static member HasInventory : 
        block : IMyTerminalBlock -> bool 
Parameters
- block
- Type: Sandbox.ModAPI.IngameIMyTerminalBlock
 
Return Value
Type: 
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IMyTerminalBlock. 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
See Also