ToString()

Guid::ToString() const method

Converts the GUID represented by the current object to its string representation.

String System::Guid::ToString() const

Guid::ToString(const String&) const method

Converts the GUID represented by the current object to its string representation using the specified string format.

String System::Guid::ToString(const String &format) const

Arguments

ParameterTypeDescription
formatconst String&The format to use

Return Value

The string representation of the GUID value represented by the current object

Guid::ToString(const String&, const SharedPtr<Globalization::CultureInfo>&) const method

Converts the GUID represented by the current object to its string representation using the specified string format and Culture.

String System::Guid::ToString(const String &format, const SharedPtr<Globalization::CultureInfo> &culture) const

Arguments

ParameterTypeDescription
formatconst String&The format to use
cultureconst SharedPtr<Globalization::CultureInfo>&Culture to use

Return Value

The string representation of the GUID value represented by the current object

See Also