- theString
- The string.
Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Function IsNullOrEmpty( _ ByVal theString As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim theString As String Dim value As Boolean value = GeneralExtensions.IsNullOrEmpty(theString) |
C# | |
---|---|
[ExtensionAttribute()] public static bool IsNullOrEmpty( string theString ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static bool IsNullOrEmpty( String^ theString ) |
Parameters
- theString
- The string.
Return Value
true
if the specified string is null or empty; otherwise, false
.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7