LanguagePrimitives Methods

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCompare(Object, Object)

Compares one object to another.

System_CAPS_pubmethodSystem_CAPS_staticCompare(Object, Object, Boolean)

Compares one object to another with the option to ignore case if both objects are strings.

System_CAPS_pubmethodSystem_CAPS_staticCompare(Object, Object, Boolean, IFormatProvider)

Compares one object to another with the option to ignore case if both objects are strings, and provides an IFormatProvider interface.

System_CAPS_pubmethodSystem_CAPS_staticConvertPSObjectToType(PSObject, Type, Boolean, IFormatProvider, Boolean)

Converts PSObject to resultType.

System_CAPS_pubmethodSystem_CAPS_staticConvertTo(Object, Type)

Converts an object from one type to another.

System_CAPS_pubmethodSystem_CAPS_staticConvertTo(Object, Type, IFormatProvider)

Converts an object from one type to another, and provides an IFormatProvider interface for use in the type conversion.

System_CAPS_pubmethodSystem_CAPS_staticConvertTo<T>(Object)

Converts an object to a specified type parameter. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticConvertTypeNameToPSTypeName(String)

Maps a .NET or CIM type name string (e.g. SInt32) to the form expected by PowerShell users, namely "[typename]". If there is no mapping, then it returns the original string as "[UNKNOWN:typeName]". If the string to convert is null or empty then the function returns "[object]" as the default typeless type.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Object, Object)

Determines whether two objects are equal.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Object, Object, Boolean)

Determines whether two objects are equal with the option to ignore case.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Object, Object, Boolean, IFormatProvider)

Determines whether two objects are equal with the option to ignore case, and specifies an IFormatProvider interface.

System_CAPS_pubmethodSystem_CAPS_staticGetEnumerable(Object)

Retrieves an IEnumerable interface for an object.

System_CAPS_pubmethodSystem_CAPS_staticGetEnumerator(Object)

Retrieves the IEnumerator interface of an object.

System_CAPS_pubmethodSystem_CAPS_staticGetPSDataCollection(Object)

Wraps an arbitrary object within a Windows PowerShell data collection of Windows PowerShell objects. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticIsTrue(Object)

Determines whether the value of the specified object is true.

System_CAPS_pubmethodSystem_CAPS_staticTryConvertTo(Object, Type, IFormatProvider, Object)

Converts a value to a specified type without throwing exceptions. In addition, an IFormatProvider interface can be supplied for type conversions. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodSystem_CAPS_staticTryConvertTo(Object, Type, Object)

Converts a value to a specified type without throwing exceptions. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodSystem_CAPS_staticTryConvertTo<T>(Object, T)

Converts a value to a specified type parameter without throwing exceptions.

System_CAPS_pubmethodSystem_CAPS_staticTryConvertTo<T>(Object, IFormatProvider, T)

Converts a value to a specified type parameter without throwing exceptions. In addition, an IFormatProvider interface can be supplied for type conversions.

Return to top

Community Additions

ADD
Show: