Method | Description | |
---|---|---|
OpenGraphMetadata ( string title, |
Initializes a new instance of the OpenGraphMetadata class.
|
|
ToHtmlString ( ) : string |
Returns an HTML-encoded string containing the Open Graph meta tags.
|
|
ToString ( ) : string |
Returns a HTML-encoded System.String that represents this instance containing the Open Graph meta tags.
|
|
ToString ( StringBuilder stringBuilder ) : void |
Appends a HTML-encoded string representing this instance to the stringBuilder containing the Open Graph meta tags.
|
public OpenGraphMetadata ( string title, |
||
title | string | The title of the object as it should appear in the graph. |
image | The default image. | |
url | string | The canonical URL of the object, used as its ID in the graph. |
return | System |
public ToString ( StringBuilder stringBuilder ) : void | ||
stringBuilder | StringBuilder | The string builder. |
return | void |