In This Article

CodeSnippetKind Enum

Indicates the kind of code snippet.

public enum CodeSnippetKind

Fields

Name Description
Any

The snippet can be inserted anywhere.

File

The snippet is a full code file.

MemberBody

The snippet is intended for usage within a member body.

MemberDeclaration

The snippet is a member declaration, and can ony be inserted inside a type.

TypeDeclaration

The snippet is a type declaration, and can only be inserted inside a type or namespace.