Click or drag to resize
AttributeTableExtensionsTryGetValue Method (IAttributeTable, Object, Type, Object)
Tries to retrieve the value the passed key is mapped to within this attribute table and expects the specified type.

Namespace: Slash.Collections.AttributeTables
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public static bool TryGetValue(
	this IAttributeTable attributeTable,
	Object key,
	Type type,
	out Object value
)

Parameters

attributeTable
Type: Slash.Collections.AttributeTablesIAttributeTable
Attribute table to work on.
key
Type: SystemObject
Key to retrieve the value of.
type
Type: SystemType
Expected value type.
value
Type: SystemObject
Retrieved value.

Return Value

Type: Boolean
true if a value was found, and false otherwise.

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