DeclarationKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class DeclarationKind
public enum DeclarationKind
type DeclarationKind =
Public Enum DeclarationKind
- Inheritance
-
DeclarationKind
Fields
AddAccessor | 26 | |
Attribute | 22 | |
Class | 2 | Represents a class declaration, including record class declarations in C#. |
CompilationUnit | 1 | |
Constructor | 10 | |
ConversionOperator | 9 | |
CustomEvent | 17 | |
Delegate | 6 | |
Destructor | 11 | |
Enum | 5 | |
EnumMember | 15 | |
Event | 16 | |
Field | 12 | |
GetAccessor | 24 | |
Indexer | 14 | |
Interface | 4 | |
LambdaExpression | 23 | |
Method | 7 | |
Namespace | 18 | |
NamespaceImport | 19 | |
None | 0 | |
Operator | 8 | |
Parameter | 20 | |
Property | 13 | |
RaiseAccessor | 28 | |
RecordClass | 29 | |
RemoveAccessor | 27 | |
SetAccessor | 25 | Represents set accessor declaration of a property, including init accessors in C#. |
Struct | 3 | Represents a struct declaration, including record struct declarations in C#. |
Variable | 21 |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för