 | 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.AttributeTablesAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic T GetValue<T>(
Object attributeKey
)
where T : class
Public Function GetValue(Of T As Class) (
attributeKey As Object
) As T
public:
generic<typename T>
where T : ref class
T GetValue(
Object^ attributeKey
)
member GetValue :
attributeKey : Object -> 'T when 'T : not struct
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
See Also