PSObject Methods

(see also Protected Methods)
public methodstaticAsPSObjectInitializes a new instance of the PSObject class based on a supplied object.
public methodCompareToCompares the base object to a specified object.
public methodCopyMakes a copy of the current PSObject object.
public methodEqualsOverridden. Compares the base object to a specified object to see if they are equal.
public methodGetHashCodeOverridden. Retrieves a hash code for a particular type.
public methodGetObjectDataPopulates an object with the data needed to serialize the PSObject.
public methodGetType  (Inherited from Object)
public methodstaticImplicitOverloaded. Converts a type to a PSObject.
public methodToStringOverloaded. Overridden. Converts the base object to a string. The variants of this method can be used to convert the base object by using the default format provider or the specified format provider.

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

  Name Description
  GetMetaObject Retrieves the dynamic metaobject that is responsible for binding operations performed on this PSObject.

Send comments about this topic to Microsoft.
© 2014 Microsoft