DkmInspectionContext.GetClrExpressionAndFormatSpecifiers Method

Definition

Splits the string into the expression and format specifier parts.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

public:
 System::String ^ GetClrExpressionAndFormatSpecifiers(System::String ^ Expression, [Runtime::InteropServices::Out] System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ % FormatSpecifiers);
public string GetClrExpressionAndFormatSpecifiers (string Expression, out System.Collections.ObjectModel.ReadOnlyCollection<string> FormatSpecifiers);
member this.GetClrExpressionAndFormatSpecifiers : string * ReadOnlyCollection -> string
Public Function GetClrExpressionAndFormatSpecifiers (Expression As String, ByRef FormatSpecifiers As ReadOnlyCollection(Of String)) As String

Parameters

Expression
String

[In] The expression being split to expression and format specifier parts.

FormatSpecifiers
ReadOnlyCollection<String>

[Out] The format specifier(s) to use when formatting this result.

Returns

[Out] The expression without format specifiers.

Applies to