Méthode | Description | |
---|---|---|
OpenGraphImage ( string imageUrl ) : System.Text |
Initializes a new instance of the OpenGraphImage class.
|
|
OpenGraphImage ( string imageUrl, int width, int height ) : System.Text |
Initializes a new instance of the OpenGraphImage class.
|
|
OpenGraphImage ( string imageUrl, string type ) : System.Text |
Initializes a new instance of the OpenGraphImage class.
|
|
OpenGraphImage ( string imageUrl, string type, int width, int height ) : System.Text |
Initializes a new instance of the OpenGraphImage class.
|
|
ToString ( |
Appends a HTML-encoded string representing this instance to the stringBuilder containing the Open Graph meta tags.
|
public OpenGraphImage ( string imageUrl ) : System.Text | ||
imageUrl | string | The image URL. |
Résultat | System.Text |
public OpenGraphImage ( string imageUrl, int width, int height ) : System.Text | ||
imageUrl | string | The media URL. |
width | int | The width of the media in pixels. This is optional. |
height | int | The height of the media in pixels. This is optional. |
Résultat | System.Text |
public OpenGraphImage ( string imageUrl, string type ) : System.Text | ||
imageUrl | string | The media URL. |
type | string | The MIME type of the media e.g. media/jpeg. This is optional if your media URL ends with /// a file extension, otherwise it is recommended. |
Résultat | System.Text |
public OpenGraphImage ( string imageUrl, string type, int width, int height ) : System.Text | ||
imageUrl | string | The media URL. |
type | string | The MIME type of the media e.g. media/jpeg. This is optional if your media URL ends with /// a file extension, otherwise it is recommended. |
width | int | The width of the media in pixels. This is optional. |
height | int | The height of the media in pixels. This is optional. |
Résultat | System.Text |
public ToString ( |
||
stringBuilder | The string builder. | |
Résultat | void |