TextDecorationCollection.Contains(TextDecoration) TextDecorationCollection.Contains(TextDecoration) TextDecorationCollection.Contains(TextDecoration) TextDecorationCollection.Contains(TextDecoration) Method

定义

确定 TextDecorationCollection 是否包含指定的 TextDecorationDetermines if the TextDecorationCollection contains the specified TextDecoration.

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

参数

value
TextDecoration TextDecoration TextDecoration TextDecoration

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

返回

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

实现

适用于