StringExtensions.IsTrue Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Extensions
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim text As String
Dim returnValue As Boolean

returnValue = StringExtensions.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

StringExtensions Class
StringExtensions Members
Microsoft.OneGet.Utility.Extensions Namespace