Share via


Video.Owner Property (Microsoft.DirectX.AudioVideoPlayback)

Retrieves or sets the ControlLeave Site where the video will be played.

Definition

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

Property Value

System.Windows.Forms.Control
The ControlLeave Site where the video will be played.

This property is read/write. 

Remarks

If this property is not set before playback, a new FormLeave Site will be created for playback.

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.