OpenMetaverse Protocol Library Developers API Documentation
TryParse Method (val, result)
NamespacesOpenMetaverseUUIDTryParse(String, UUID % )
Generate a UUID from a string
Declaration Syntax
C#
public 
static 
bool 
TryParse(
        
string 
val,
        
out 
UUID 
result
)
Parameters
val ( String)
A string representation of a UUID, case insensitive and can either be hyphenated or non-hyphenated
result ( UUID %)
Will contain the parsed UUID if successful, otherwise null
Return Value
True if the string was successfully parse, otherwise false
Examples
UUID.TryParse("11f8aa9c-b071-4242-836b-13b7abe0d489", result)

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0