Partager via


CodeElementKinds Enum

Definition

Represents the kind of code elements in a document.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
Invalid -1

Invalid kind.

Unspecified 0

Unspecified kind.

Function 4

Kind is a function.

Constructor 8

Kind is a constructor.

Field 16

Kind is a field.

Event 32

Kind is an event.

Property 64

Kind is a property.

Method 128

Kind is a method.

Member 255

Kind is a type member.

Enum 256

Kind is an enum.

Struct 512

Kind is a struct.

Interface 1024

Kind is an interface.

Class 2048

Kind is a class.

Type 3840

Kind is a type (Class, Interface, Struct, or Enum).

Namespace 4096

Kind is a namespace.

Package 8192

Kind is a package.

Module 16384

Kind is a module.

File 32768

Kind is a file.

Container 61440

Kind is a type container.

Applies to