共用方式為


SymbolDisplayExtensions.ToDisplayString Method

Definition

Converts an immutable array of SymbolDisplayParts to a string.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToDisplayString(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::SymbolDisplayPart> parts);
public static string ToDisplayString (this System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.SymbolDisplayPart> parts);
static member ToDisplayString : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.SymbolDisplayPart> -> string
<Extension()>
Public Function ToDisplayString (parts As ImmutableArray(Of SymbolDisplayPart)) As String

Parameters

parts
ImmutableArray<SymbolDisplayPart>

The array of parts.

Returns

The concatenation of the parts into a single string.

Applies to