GuidStatic: TryParse

TryParse

Converts the string representation of a GUID to the equivalent Guid object.



 Public Function TryParse(
	  ByRef InputString As String,
	  ByRef Result As Guid ) As Boolean

Parameters

InputString
[ByRef] String. The GUID to convert.
Result
[ByRef] Guid. The structure that will contain the parsed value. If the method returns True, Result contains a valid Guid. If the method returns False, result equals Guid.EmptyGuid.

Return Values

Boolean -  True if the parse operation was successful; otherwise, False.

See Also

Project CorLib Overview

Class GuidStatic Overview