System.Guid.Parse Method

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

Syntax

public static Guid Parse (string input)

Parameters

input
The GUID to convert.

Returns

A structure that contains the value that was parsed.

Remarks

Use Guid.TryParse(string, Guid@) method to catch any unsuccessful parse operations.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0