点击或拖拽改变大小

MediaList 类

The MediaList holds a list of Media types
继承层次

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public class MediaList : Internal, IEnumerable<Media>, 
	IEnumerable

MediaList 类型公开以下成员。

构造函数
  名称说明
公共方法MediaList(LibVLC)
Create an empty media list.
公共方法MediaList(Media)
Get subitems of media descriptor object.
公共方法MediaList(MediaDiscoverer)
Get media service discover media list.
Top
属性
  名称说明
公共属性Count
Get count on media list items.
公共属性IsReadonly
This indicates if this media list is read-only from a user point of view. True if readonly, false otherwise
公共属性Item
Gets the element at the specified index
公共属性NativeReference
The pointer to the native code representation of this object
(继承自 Internal。)
Top
方法
  名称说明
公共方法AddMedia
Add media instance to media list
公共方法Dispose
Dispose of this instance
(继承自 Internal。)
受保护的方法Dispose(Boolean)
Dispose of this media list instance
(重写 InternalDispose(Boolean).)
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetEnumerator
Returns an enumerator that iterates through a collection of media
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
公共方法IndexOf
Find index position of List media instance in media list. Warning: the function will return the first matched position.
公共方法InsertMedia
Insert media instance in media list on a position.
受保护的方法MemberwiseClone (继承自 Object。)
公共方法RemoveIndex
Remove media instance from media list on a position.
公共方法SetMedia
Associate media instance with this media list instance. If another media instance was present it will be released.
公共方法ToString (继承自 Object。)
Top
事件
  名称说明
公共事件EndReached
The media list reached its end
公共事件ItemAdded
An item has been added to the MediaList
公共事件ItemDeleted
An item has been deleted from the MediaList
公共事件WillAddItem
An item is about to be added to the MediaList
公共事件WillDeleteItem
An item is about to be deleted from the MediaList
Top
字段
  名称说明
受保护的字段IsDisposed
Indicates whether this object has already been disposed
(继承自 Internal。)
受保护的字段Release
Release native resources by calling this C function
(继承自 Internal。)
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法ToItems
转成IList用于Items属性设置
(由 ObjectExtenstions 定义。)
Top
参见