Share via


RequestExtensions.Is Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim str As String
Dim returnValue As Boolean

returnValue = RequestExtensions.Is(str)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Is ( _
    str As String _
) As Boolean
[ExtensionAttribute] 
public static bool Is (
    string str
)
[ExtensionAttribute] 
public:
static bool Is (
    String^ str
)
/** @attribute ExtensionAttribute() */ 
public static boolean Is (
    String str
)
ExtensionAttribute 
public static function Is (
    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.MetaProvider.PowerShell Namespace