ContentDescription Class

Definition

Represents the base class for all media descriptions.

public ref class ContentDescription
public class ContentDescription
type ContentDescription = class
Public Class ContentDescription
Inheritance
ContentDescription
Derived

Constructors

ContentDescription()

Initializes an instance of the class.

ContentDescription(ContentType, Byte[])

Initializes an instance of the class with parameters.

ContentDescription(ContentType, String)

Initializes an instance of the class with parameters.

Properties

ContentType

Gets or sets the ContentType for the body or null if none is specified.

Methods

GetBody()

Represents the body in byte or null, if there is none.

RecomputeBody()

Recompute the body of this instance.

SetBody(Byte[])

Sets the body content.

ToString()

Represents MediaDescription as a string.

Applies to