Share via


RequestExtensions.IsTrue Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)

Usage

'Usage
Dim text As String
Dim returnValue As Boolean

returnValue = RequestExtensions.IsTrue(text)

Syntax

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

Parameters

  • text

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.ServicesProvider.Common Namespace