FontSourceCollection

FontSourceCollection class

代表字体源集合。

public sealed class FontSourceCollection : ICollection<FontSource>

特性

姓名描述
Count { get; }获取数量Font集合中实际包含的对象元素。
IsSynchronized { get; }获取一个值,该值指示对集合的访问是否同步(线程安全)。
Item { get; }获取指定索引处的字体元素。
SyncRoot { get; }获取可用于同步访问集合的对象。

方法

姓名描述
Add(FontSource)将新字体源对象添加到集合中。
Clear()清除字体源集合。
Contains(FontSource)确定一个元素是否在集合中。
CopyTo(FontSource[], int)将整个集合复制到一个兼容的一维数组中,从目标数组的指定索引开始
Delete(FontSource)删除字体源元素。
GetEnumerator()返回整个集合的枚举数。
Remove(FontSource)删除字体源元素。

也可以看看