FamilyTypefaceCollection.Contains(FamilyTypeface) 方法

定义

确定集合是否包含指定的 FamilyTypefaceDetermines if the collection contains the specified FamilyTypeface.

public:
 virtual bool Contains(System::Windows::Media::FamilyTypeface ^ item);
public bool Contains (System.Windows.Media.FamilyTypeface item);
abstract member Contains : System.Windows.Media.FamilyTypeface -> bool
override this.Contains : System.Windows.Media.FamilyTypeface -> bool
Public Function Contains (item As FamilyTypeface) As Boolean

参数

item
FamilyTypeface

要定位的 FamilyTypeface 对象。The FamilyTypeface object to locate.

返回

如果 true 位于集合中,则为 item;否则为 falsetrue if item is in the collection; otherwise, false.

实现

适用于