ToStringHelper.ToStringWithCulture Method
Returns a String that represents the specified Object.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.12.0 (in Microsoft.VisualStudio.TextTemplating.12.0.dll)
Syntax
'Declaration
Public Shared Function ToStringWithCulture ( _
objectToConvert As Object _
) As String
public static string ToStringWithCulture(
Object objectToConvert
)
public:
static String^ ToStringWithCulture(
Object^ objectToConvert
)
static member ToStringWithCulture :
objectToConvert:Object -> string
public static function ToStringWithCulture(
objectToConvert : Object
) : String
Parameters
- objectToConvert
Type: System.Object
Return Value
Type: System.String
A String that represents the specified Object.
Remarks
Uses the FormatProvider if the specified Object provides a ToString method that accepts an IFormatProvider as a parameter. Otherwise, calls the default ToString.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.