SymbolDisplayMemberOptions Enum

Definition

Specifies the options for how members are displayed in the description of a symbol.

This enumeration supports a bitwise combination of its member values.

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

Fields

IncludeAccessibility 4

Includes the accessibility modifiers of the member. For example, "public" in C# or "Public" in Visual Basic.

IncludeConstantValue 64

Includes the value of the member if is a constant.

IncludeContainingType 32

Includes the name of the type containing the member.

The format of the containing type is determined by SymbolDisplayTypeQualificationStyle.

IncludeExplicitInterface 8

Includes the name of corresponding interface on members that explicitly implement interface members. For example, "IGoo.Bar { get; }".

This option has no effect in Visual Basic.

IncludeModifiers 2

Includes the modifiers of the member. For example, "static readonly" in C# or "Shared ReadOnly" in Visual Basic.

Accessibility modifiers are controlled separately by IncludeAccessibility.

IncludeParameters 16

Includes the parameters of methods and properties/indexers.

See SymbolDisplayParameterOptions for finer-grained settings.

IncludeRef 128

Includes the ref, ref readonly, ByRef keywords for ref-returning methods and properties/indexers. Also includes the readonly keyword on methods, properties/indexers, and events due to the keyword changing the this parameter's ref kind from ref to ref readonly.

IncludeType 1

Includes the (return) type of the method/field/property/event.

None 0

Includes only the name of the member.

Applies to