A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
CSScriptLib
StringExtensions Class
StringExtensions Methods
IsEmpty Method
IsNotEmpty Method
JoinBy Method
SameAs Method
TrimSingle Method
StringExtensions
IsEmpty Method
Determines whether the string is empty (or null).
Namespace:
CSScriptLib
Assembly:
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
Copy
public
static
bool
IsEmpty
(
this
string
text
)
Parameters
text
Type:
System
String
The text.
Return Value
Type:
Boolean
true
if the specified text is empty; otherwise,
false
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
StringExtensions Class
CSScriptLib Namespace