PropertyCollectionGetT Method (String) |
Gets the value with the specified key from the collection.
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public T Get<T>(
string key
)
where T : class
Public Function Get(Of T As Class) (
key As String
) As T
public:
generic<typename T>
where T : ref class
T Get(
String^ key
)
member Get :
key : string -> 'T when 'T : not struct
Parameters
- key
- Type: SystemString
The key of the object.
Type Parameters
- T
Return Value
Type:
TThe object, if the collection contains the key; otherwise null.
See Also