ToDisplayString(CodeDisplayFormat?, CodeDisplayContext?)
Renders the current declaration into a human-readable string.
Declaration
string ToDisplayString(CodeDisplayFormat? format = null, CodeDisplayContext? context = null)
Parameters
Type | Name | Description |
---|---|---|
CodeDisplayFormat | format | Reserved for future use. Specifies formatting options. |
CodeDisplayContext | context | Reserved for future use. Specifies the context in which the string must be displayed. This allow to abbreviate a few pieces of information. |
Returns
Type | Description |
---|---|
string | A human-readable string for the current declaration. |