Share via


RequestExtensions.IsEmptyOrNull Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.PackageProvider.Bootstrap
Assembly: Microsoft.OneGet.PackageProvider.Bootstrap (in Microsoft.OneGet.PackageProvider.Bootstrap.dll)

Usage

'Usage
Dim str As String
Dim returnValue As Boolean

returnValue = RequestExtensions.IsEmptyOrNull(str)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsEmptyOrNull ( _
    str As String _
) As Boolean
[ExtensionAttribute] 
public static bool IsEmptyOrNull (
    string str
)
[ExtensionAttribute] 
public:
static bool IsEmptyOrNull (
    String^ str
)
/** @attribute ExtensionAttribute() */ 
public static boolean IsEmptyOrNull (
    String str
)
ExtensionAttribute 
public static function IsEmptyOrNull (
    str : String
) : boolean

Parameters

  • str

Return Value

Returns Boolean.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

RequestExtensions Class
RequestExtensions Members
Microsoft.OneGet.PackageProvider.Bootstrap Namespace