Share via


Video.Caption Property (Microsoft.DirectX.AudioVideoPlayback)

Retrieves and sets the caption of the FormLeave Site playing the video.

Definition

Visual Basic Public Property Caption As String
C# public string Caption { get; set; }
C++ public:
property StringLeave Site^ Caption {
        StringLeave Site^ get();
        void set(StringLeave Sitevalue);
}
JScript public function get Caption() : String
public function set Caption(String);

Property Value

System.String
The caption of the FormLeave Site playing the video.

This property is read/write. 

Remarks

This property only applies to videos that are played in their own FormLeave Site when the Owner property is not set.

Exceptions

DirectXException

For more information on the cause of this exception, reference the DirectXException.ErrorCode and DirectXException.ErrorString properties to the AudioVideoPlayback error code table.