Class MetaOg
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<ITag>
System.Collections.IEnumerable
Inherited Members
Namespace: ToSic.Razor.Html5
Assembly: ToSic.Razor.dll
Syntax
public class MetaOg : Meta, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Constructors
| Improve this Doc View SourceMetaOg(String, String)
Declaration
public MetaOg(string property = null, string content = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | property | |
| System.String | content |
Fields
| Improve this Doc View SourcePrefix
Declaration
public const string Prefix = "og:"
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceContent(String)
Add the content attribute
Declaration
public MetaOg Content(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type | Description |
|---|---|
| MetaOg |
Property(String)
Set the property attribute
Declaration
public MetaOg Property(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type | Description |
|---|---|
| MetaOg |
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable