ArgumentUtility.CheckStringForNullOrEmpty Method (String, String, Boolean)
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Shared Sub CheckStringForNullOrEmpty ( _
stringVar As String, _
stringVarName As String, _
trim As Boolean _
)
public static void CheckStringForNullOrEmpty(
string stringVar,
string stringVarName,
bool trim
)
public:
static void CheckStringForNullOrEmpty(
String^ stringVar,
String^ stringVarName,
bool trim
)
static member CheckStringForNullOrEmpty :
stringVar:string *
stringVarName:string *
trim:bool -> unit
public static function CheckStringForNullOrEmpty(
stringVar : String,
stringVarName : String,
trim : boolean
)
Parameters
- stringVar
Type: System.String
- stringVarName
Type: System.String
- trim
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.