Method IsFirstSnippet
IsFirstSnippet(ICodeSnippetRange)
When implemented by a class, checks whether code snippet represents first snippet in subset of snippets that have the same ids.
bool IsFirstSnippet(ICodeSnippetRange range)
Parameters
range
ICodeSnippetRangeSpecified the code snippet.
Returns
- bool
Returns True if snippet represents the first snippet with unique id.
IsFirstSnippet(int)
When implemented by a class, checks whether code snippet represents first snippet in subset of snippets that have the same ids.
bool IsFirstSnippet(int index)
Parameters
index
intSpecified index of the snippet.
Returns
- bool
Returns True if snippet represents the first snippet with unique id.