ICodeSnippetFolder Interface
Provides the base requirements for a folder that can contain ICodeSnippetProvider objects and other child folders.
public interface ICodeSnippetFolder
Properties
Folders
The collection of child folders.
Items
The collection of code snippet metadata items in the folder.
Name
The name of the folder.
Tag
The object that contains user-defined data about the object.
Methods
FindItemByShortcut(string, bool)
Recursively searches for an item with the specified shortcut.
ICodeSnippetMetadata? FindItemByShortcut(string shortcut, bool isCaseSensitive)
| Parameter | Type | Description |
|---|---|---|
| shortcut | string | The shortcut text. |
| isCaseSensitive | bool | Whether the comparison should be case-sensitive. |
Returns
- ICodeSnippetMetadata:
The ICodeSnippetMetadata that was found, if any.