点击或拖拽改变大小

MediaPlayerSetRole 方法

Sets the media role.

version LibVLC 3.0.0 and later.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public bool SetRole(
	MediaPlayerRole role
)

参数

role
类型:LibVLCSharp.SharedMediaPlayerRole

[缺少 "M:LibVLCSharp.Shared.MediaPlayer.SetRole(LibVLCSharp.Shared.MediaPlayerRole)" 的 <param name="role"/> 文档]

返回值

类型:Boolean
true on success, false otherwise
参见