StringExtensions.AsFormat(String, 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.
Caution
This method will be removed in a future version of the Toolkit. Use the native C# string interpolation syntax instead, see: https://docs.microsoft.com/dotnet/csharp/language-reference/tokens/interpolated
Provide better linking for resourced strings.
[System.Obsolete("This method will be removed in a future version of the Toolkit. Use the native C# string interpolation syntax instead, see: https://docs.microsoft.com/dotnet/csharp/language-reference/tokens/interpolated")]
public static string AsFormat (this string format, params object[] args);
[<System.Obsolete("This method will be removed in a future version of the Toolkit. Use the native C# string interpolation syntax instead, see: https://docs.microsoft.com/dotnet/csharp/language-reference/tokens/interpolated")>]
static member AsFormat : string * obj[] -> string
<Extension()>
Public Function AsFormat (format As String, ParamArray args As Object()) As String
Parameters
- format
- String
The format of the string being linked.
- args
- Object[]
The object which will receive the linked String.
Returns
Truncated string.
- Attributes