FCFL.NET Common Library - API Reference
CheckIsEmpty Method

The unique error ID to use if an exception needs to be thrown.
The name of the parameter that contains the index value to check.
The value of the string parameter to verify.
Checks whether or not the supplied string value is null (Nothing in Visual Basic) or empty (trimmed length equals zero).
Syntax
'Declaration
 
Public Shared Sub CheckIsEmpty( _
   ByVal errorId As Integer, _
   ByVal paramName As String, _
   ByVal val As String _
) 
public static void CheckIsEmpty( 
   int errorId,
   string paramName,
   string val
)

Parameters

errorId
The unique error ID to use if an exception needs to be thrown.
paramName
The name of the parameter that contains the index value to check.
val
The value of the string parameter to verify.
Exceptions
ExceptionDescription
FCArgumentExceptionThe string value is null or empty.
Remarks
If the val parameter is null (Nothing in Visual Basic) or empty (trimmed length equals zero) an FCArgumentException will be thrown using the supplied errorId.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

FCArgumentException Class
FCArgumentException Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.