Udostępnij za pośrednictwem


SymbolDisplayPartKind Enum

Definition

Specifies the kinds of a piece of classified text (SymbolDisplayPart).

public enum class SymbolDisplayPartKind
public enum SymbolDisplayPartKind
type SymbolDisplayPartKind = 
Public Enum SymbolDisplayPartKind
Inheritance
SymbolDisplayPartKind

Fields

Name Value Description
AliasName 0

The name of an alias.

AssemblyName 1

The name of an assembly.

ClassName 2

The name of a class.

DelegateName 3

The name of a delegate.

EnumName 4

The name of an enum.

ErrorTypeName 5

The name of an error type.

EventName 6

The name of an event.

FieldName 7

The name of a field.

InterfaceName 8

The name of an interface.

Keyword 9

A language keyword.

LabelName 10

The name of a label.

LineBreak 11

A line-break (i.e. whitespace).

NumericLiteral 12

A numeric literal.

Typically for the default values of parameters and the constant values of fields.

StringLiteral 13

A string literal.

Typically for the default values of parameters and the constant values of fields.

LocalName 14

The name of a local.

MethodName 15

The name of a method.

ModuleName 16

The name of a module.

NamespaceName 17

The name of a namespace.

Operator 18

The symbol of an operator (e.g. "+").

ParameterName 19

The name of a parameter.

PropertyName 20

The name of a property.

Punctuation 21

A punctuation character (e.g. "(", ".", ",") other than an Operator.

Space 22

A single space character.

StructName 23

The name of a struct (structure in Visual Basic).

AnonymousTypeIndicator 24

A keyword-like part for anonymous types (not actually a keyword).

Text 25

An unclassified part.

Never returned - only set in user-constructed parts.

TypeParameterName 26

The name of a type parameter.

RangeVariableName 27

The name of a query range variable.

EnumMemberName 28

The name of an enum member.

ExtensionMethodName 29

The name of a reduced extension method.

When an extension method is in it's non-reduced form it will be will be marked as MethodName.

ConstantName 30

The name of a field or local constant.

RecordClassName 31

The name of a record class.

RecordStructName 32

The name of a record struct.

Applies to