System::Guid::ToString method

Guid::ToString() const method

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

String System::Guid::ToString() const

See Also

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
ParameterTypeDescription
formatconst String&The format to use

ReturnValue

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

See Also

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
ParameterTypeDescription
formatconst String&The format to use
cultureconst SharedPtr<Globalization::CultureInfo>&Culture to use

ReturnValue

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

See Also