Partager via


CimInstanceAdapter Class

Definition

Adapter that deals with CimInstance objects.

public ref class CimInstanceAdapter sealed : System::Management::Automation::PSPropertyAdapter
public sealed class CimInstanceAdapter : System.Management.Automation.PSPropertyAdapter
type CimInstanceAdapter = class
    inherit PSPropertyAdapter
Public NotInheritable Class CimInstanceAdapter
Inherits PSPropertyAdapter
Inheritance
CimInstanceAdapter

Remarks

Implementing the PropertyOnlyAdapter for the time being as CimInstanceTypeAdapter currently supports only properties. If method support is needed in future, this should derive from Adapter class.

Constructors

CimInstanceAdapter()

Methods

GetFirstPropertyOrDefault(Object, MemberNamePredicate)

Returns a property if it's name matches the specified MemberNamePredicate, otherwise null.

GetFirstPropertyOrDefault(Object, MemberNamePredicate)

Returns a property if it's name matches the specified MemberNamePredicate, otherwise null.

(Inherited from PSPropertyAdapter)
GetProperties(Object)
GetProperty(Object, String)
GetPropertyTypeName(PSAdaptedProperty)
GetPropertyValue(PSAdaptedProperty)
GetTypeNameHierarchy(Object)
IsGettable(PSAdaptedProperty)
IsSettable(PSAdaptedProperty)
SetPropertyValue(PSAdaptedProperty, Object)

Applies to