←Select platform

SourceObject Property (PlayCtrl)

Summary

Gets or sets the media source object.

Syntax

C#
VB
C++
public virtual object SourceObject {get; set;} 
Public Overridable Property SourceObject As Object 
public: 
virtual property Object^ SourceObject { 
   Object^ get(); 
   void set (    Object^ ); 
} 

Property Value

A System.Object value representing the media source object.

Remarks

Use this property to assign a COM object as the media source for the playing process. The object can be any Media Foundation source object ( implements the IMFMediaSource interface ). The SourceType will be set to SourceObjectType.Object. Assignment can raise an error exception. For more information, refer to the Error Codes. Note: When setting this property, the Play control must be in the stopped state.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.MediaFoundation Assembly
Click or drag to resize