編輯

共用方式為


XmlConvert.ToGuid(String) Method

Definition

Converts the String to a Guid equivalent.

public:
 static Guid ToGuid(System::String ^ s);
public static Guid ToGuid (string s);
static member ToGuid : string -> Guid
Public Shared Function ToGuid (s As String) As Guid

Parameters

s
String

The string to convert.

Returns

A Guid equivalent of the string.

Applies to