Home News DOC Class DL Others Rice
Class  >  clipboard  >  ContainsText
clipboard class : ContainsText getter

Description

Returns a value that indicates whether to exist a text data on the clipboard.

Syntax

instance.ContainsText

Arguments

None.

Return value

ClassDescription
boolWhether to exist a text data on the clipboard.

Sample code

1:

clipboard clip;

2:

bool exists = clip.ContainsText;

Notes

Returns true if it exists. Otherwise, returns false.

It is a wrapper of the System.Windows.Clipboard.ContainsText().

Links for reference

Copyright © Rice All rights reserved.