UtilClipboardCountChars Method
Counts the text characters contained in the Clipboard.
Namespace: DevCase.Core.Windows.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static int CountChars(
TextDataFormat format = TextDataFormat.Text
)
Public Shared Function CountChars (
Optional format As TextDataFormat = TextDataFormat.Text
) As Integer
Dim format As TextDataFormat
Dim returnValue As Integer
returnValue = UtilClipboard.CountChars(format)
public:
static int CountChars(
TextDataFormat format = TextDataFormat::Text
)
static member CountChars :
?format : TextDataFormat
(* Defaults:
let _format = defaultArg format TextDataFormat.Text
*)
-> int
No code example is currently available or this language may not be supported.
- format TextDataFormat (Optional)
-
The specific TextDataFormat, default is Text.
Int32
If the clipboard content is text, the value is the amount of characters.
If the clipboard content is not text, the value is
0.