共用方式為


MediaComposition.GenerateMediaStreamSource 方法

定義

多載

GenerateMediaStreamSource()

建立新的 MediaStreamSource

GenerateMediaStreamSource(MediaEncodingProfile)

使用指定的MediaEncodingProfile建立新的MediaStreamSource

GenerateMediaStreamSource()

建立新的 MediaStreamSource

public:
 virtual MediaStreamSource ^ GenerateMediaStreamSource() = GenerateMediaStreamSource;
/// [Windows.Foundation.Metadata.Overload("GenerateMediaStreamSource")]
MediaStreamSource GenerateMediaStreamSource();
[Windows.Foundation.Metadata.Overload("GenerateMediaStreamSource")]
public MediaStreamSource GenerateMediaStreamSource();
function generateMediaStreamSource()
Public Function GenerateMediaStreamSource () As MediaStreamSource

傳回

新建立的 MediaStreamSource

屬性

另請參閱

適用於

GenerateMediaStreamSource(MediaEncodingProfile)

使用指定的MediaEncodingProfile建立新的MediaStreamSource

public:
 virtual MediaStreamSource ^ GenerateMediaStreamSource(MediaEncodingProfile ^ encodingProfile) = GenerateMediaStreamSource;
/// [Windows.Foundation.Metadata.Overload("GenerateMediaStreamSourceWithProfile")]
MediaStreamSource GenerateMediaStreamSource(MediaEncodingProfile const& encodingProfile);
[Windows.Foundation.Metadata.Overload("GenerateMediaStreamSourceWithProfile")]
public MediaStreamSource GenerateMediaStreamSource(MediaEncodingProfile encodingProfile);
function generateMediaStreamSource(encodingProfile)
Public Function GenerateMediaStreamSource (encodingProfile As MediaEncodingProfile) As MediaStreamSource

參數

encodingProfile
MediaEncodingProfile

用來指定新MediaStreamSource編碼屬性的MediaEncodingProfile

傳回

新建立的 MediaStreamSource

屬性

另請參閱

適用於