Partilhar via


ToStringHelper.ToStringWithCulture(Object) Method

Definition

This is called from the compile/run appdomain to convert objects within an expression block to a string

public:
 static System::String ^ ToStringWithCulture(System::Object ^ objectToConvert);
public:
 static Platform::String ^ ToStringWithCulture(Platform::Object ^ objectToConvert);
 static std::wstring ToStringWithCulture(winrt::Windows::Foundation::IInspectable const & objectToConvert);
public static string ToStringWithCulture (object objectToConvert);
static member ToStringWithCulture : obj -> string
Public Shared Function ToStringWithCulture (objectToConvert As Object) As String

Parameters

objectToConvert
Object

The object to convert to a string

Returns

The object converted to a string using the template's culture

Applies to