Megosztás a következőn keresztül:


SymbolDisplayParameterOptions Enum

Definition

Specifies how parameters are displayed in the description of a (member, property/indexer, or delegate) symbol.

This enumeration supports a bitwise combination of its member values.

public enum class SymbolDisplayParameterOptions
[System.Flags]
public enum SymbolDisplayParameterOptions
[<System.Flags>]
type SymbolDisplayParameterOptions = 
Public Enum SymbolDisplayParameterOptions
Inheritance
SymbolDisplayParameterOptions
Attributes

Fields

Name Value Description
None 0

Omits parameters from symbol descriptions.

If this option is combined with IncludeParameters, then only the parentheses will be shown (e.g. M()).

IncludeExtensionThis 1

Includes the this keyword before the first parameter of an extension method in C#.

This option has no effect in Visual Basic.

IncludeModifiers 2

Includes the params, scoped, ref, in, out, ByRef, ByVal keywords before parameters.

IncludeParamsRefOut 2

Includes the params, scoped, ref, in, out, ByRef, ByVal keywords before parameters. Replaced by IncludeModifiers.

IncludeType 4

Includes parameter types in symbol descriptions.

IncludeName 8

Includes parameter names in symbol descriptions.

IncludeDefaultValue 16

Includes parameter default values in symbol descriptions.

Ignored if IncludeName is not set.

IncludeOptionalBrackets 32

Includes square brackets around optional parameters.

Applies to