Interface ISnippet
Defines a partial view macro snippet.
Namespace: Umbraco.Cms.Core.Snippets
Assembly: Umbraco.Core.dll
Syntax
public interface ISnippet
  Properties
View SourceContent
Gets the content of the snippet.
Declaration
string Content { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Name
Gets the name of the snippet.
Declaration
string Name { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String |