Compartilhar via


PSObject.Implicit Operator

Definition

Overloads

Implicit(Boolean to PSObject)
Implicit(Hashtable to PSObject)
Implicit(Double to PSObject)
Implicit(Int32 to PSObject)
Implicit(String to PSObject)

Implicit(Boolean to PSObject)

public:
 static operator System::Management::Automation::PSObject ^(bool valueToConvert);
public static implicit operator System.Management.Automation.PSObject (bool valueToConvert);
static member op_Implicit : bool -> System.Management.Automation.PSObject
Public Shared Widening Operator CType (valueToConvert As Boolean) As PSObject

Parameters

valueToConvert
Boolean

Returns

Applies to

Implicit(Hashtable to PSObject)

public:
 static operator System::Management::Automation::PSObject ^(System::Collections::Hashtable ^ valueToConvert);
public static implicit operator System.Management.Automation.PSObject (System.Collections.Hashtable valueToConvert);
static member op_Implicit : System.Collections.Hashtable -> System.Management.Automation.PSObject
Public Shared Widening Operator CType (valueToConvert As Hashtable) As PSObject

Parameters

valueToConvert
Hashtable

Returns

Applies to

Implicit(Double to PSObject)

public:
 static operator System::Management::Automation::PSObject ^(double valueToConvert);
public static implicit operator System.Management.Automation.PSObject (double valueToConvert);
static member op_Implicit : double -> System.Management.Automation.PSObject
Public Shared Widening Operator CType (valueToConvert As Double) As PSObject

Parameters

valueToConvert
Double

Returns

Applies to

Implicit(Int32 to PSObject)

public:
 static operator System::Management::Automation::PSObject ^(int valueToConvert);
public static implicit operator System.Management.Automation.PSObject (int valueToConvert);
static member op_Implicit : int -> System.Management.Automation.PSObject
Public Shared Widening Operator CType (valueToConvert As Integer) As PSObject

Parameters

valueToConvert
Int32

Returns

Applies to

Implicit(String to PSObject)

public:
 static operator System::Management::Automation::PSObject ^(System::String ^ valueToConvert);
public static implicit operator System.Management.Automation.PSObject (string valueToConvert);
static member op_Implicit : string -> System.Management.Automation.PSObject
Public Shared Widening Operator CType (valueToConvert As String) As PSObject

Parameters

valueToConvert
String

Returns

Applies to