 | AttributeTableExtensionsTryGetInt Method |
Tries to get an int value from the specified attribute table with the specified key.
Namespace: Slash.Collections.AttributeTablesAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic static bool TryGetInt(
this IAttributeTable attributeTable,
Object key,
out int value
)
<ExtensionAttribute>
Public Shared Function TryGetInt (
attributeTable As IAttributeTable,
key As Object,
<OutAttribute> ByRef value As Integer
) As Boolean
public:
[ExtensionAttribute]
static bool TryGetInt(
IAttributeTable^ attributeTable,
Object^ key,
[OutAttribute] int% value
)
[<ExtensionAttribute>]
static member TryGetInt :
attributeTable : IAttributeTable *
key : Object *
value : int byref -> bool
Parameters
- attributeTable
- Type: Slash.Collections.AttributeTablesIAttributeTable
Attribute table to work on. - key
- Type: SystemObject
Key of value to get. - value
- Type: SystemInt32
Variable to write value to.
Return Value
Type:
BooleanTrue if the value was found; otherwise, false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAttributeTable. 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