Class PropertyMetadata
A property meta element.
Inherited Members
Namespace: OpenGraphNet.Metadata
Assembly: OpenGraphNet.dll
Syntax
public class PropertyMetadata : MetadataBase
Constructors
PropertyMetadata(StructuredMetadata, OpenGraphNamespace, String, String)
Initializes a new instance of the PropertyMetadata class.
Declaration
public PropertyMetadata(StructuredMetadata parentElement, OpenGraphNamespace ns, string name, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| StructuredMetadata | parentElement | The parent element. |
| OpenGraphNamespace | ns | The namespace. |
| System.String | name | The name. |
| System.String | value | The value. |
Properties
ParentElement
Gets the parent element.
Declaration
public StructuredMetadata ParentElement { get; }
Property Value
| Type | Description |
|---|---|
| StructuredMetadata | The parent element. |
Methods
CreateDocument()
Creates the document.
Declaration
protected override HtmlDocument CreateDocument()
Returns
| Type | Description |
|---|---|
| HtmlAgilityPack.HtmlDocument | The HTML snippet that represents this element. |
