Class PartialViewSnippet
Defines a partial view snippet.
Namespace: Umbraco.Cms.Core.Snippets
Assembly: Umbraco.Core.dll
Syntax
public class PartialViewSnippet : PartialViewSnippetSlim
Constructors
View SourcePartialViewSnippet(String, String, String)
Declaration
public PartialViewSnippet(string id, string name, string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
System.String | name | |
System.String | content |
Properties
View SourceContent
Gets the content of the snippet.
Declaration
public string Content { get; }
Property Value
Type | Description |
---|---|
System.String |