Click or drag to resize
AttributeTableGetValueT Method (Object)
Returns the attribute with the specified key casted to the specified type. If no attribute with the specified key is found or the attribute can't be casted to the specified type, an exception is thrown.

Namespace: Slash.Collections.AttributeTables
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public T GetValue<T>(
	Object attributeKey
)
where T : class

Parameters

attributeKey
Type: SystemObject
Attribute key.

Type Parameters

T
Expected type of attribute.

Return Value

Type: T
Value of attribute of the specified type with the specified key.
Exceptions
ExceptionCondition
KeyNotFoundExceptionSpecified key wasn't found.
InvalidCastExceptionAttribute was found but couldn't be casted to specified type.
See Also