ToStringHelper.ToStringWithCulture(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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