WeatherMakerResourceContainerScriptTryGetValueT Method |
Attempt to get a resource out of the container
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public bool TryGetValue<T>(
string name,
out T value
)
where T : Object
Public Function TryGetValue(Of T As Object) (
name As String,
<OutAttribute> ByRef value As T
) As Boolean
public:
generic<typename T>
where T : Object
bool TryGetValue(
String^ name,
[OutAttribute] T% value
)
member TryGetValue :
name : string *
value : 'T byref -> bool when 'T : Object
Parameters
- name
- Type: SystemString
Name of the resource - value
- Type: T
Received value, or null if not found
Type Parameters
- T
- Type of resource
Return Value
Type:
BooleanTrue if found, false otherwise
See Also