 | AttributeTableExtensionsTryGetFloat Method |
Tries to get a float 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 TryGetFloat(
this IAttributeTable attributeTable,
Object key,
out float value
)
<ExtensionAttribute>
Public Shared Function TryGetFloat (
attributeTable As IAttributeTable,
key As Object,
<OutAttribute> ByRef value As Single
) As Boolean
public:
[ExtensionAttribute]
static bool TryGetFloat(
IAttributeTable^ attributeTable,
Object^ key,
[OutAttribute] float% value
)
[<ExtensionAttribute>]
static member TryGetFloat :
attributeTable : IAttributeTable *
key : Object *
value : float32 byref -> bool
Parameters
- attributeTable
- Type: Slash.Collections.AttributeTablesIAttributeTable
Attribute table to work on. - key
- Type: SystemObject
Key of value to get. - value
- Type: SystemSingle
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