PSPropertySet PSPropertySet PSPropertySet Class

Definition

Serves as a list of property names

public class PSPropertySet : System.Management.Automation.PSMemberInfo
type PSPropertySet = class
    inherit PSMemberInfo
Public Class PSPropertySet
Inherits PSMemberInfo
Inheritance
PSPropertySetPSPropertySetPSPropertySet

Remarks

It is permitted to subclass PSPropertySet but there is no established scenario for doing this, nor has it been tested.

Constructors

PSPropertySet(String, IEnumerable<String>) PSPropertySet(String, IEnumerable<String>) PSPropertySet(String, IEnumerable<String>)

Initializes a new instance of PSPropertySet with a name and list of property names

Properties

IsInstance IsInstance IsInstance Inherited from PSMemberInfo
MemberType MemberType MemberType

Gets the member type

Name Name Name Inherited from PSMemberInfo
ReferencedPropertyNames ReferencedPropertyNames ReferencedPropertyNames

Gets the property names in this property set

TypeNameOfValue TypeNameOfValue TypeNameOfValue

Gets the type of the value for this member. This returns typeof(PSPropertySet).FullName.

Value Value Value

Gets the PSPropertySet itself.

Methods

Copy() Copy() Copy()

returns a new PSMemberInfo that is a copy of this PSMemberInfo

SetMemberName(String) SetMemberName(String) SetMemberName(String) Inherited from PSMemberInfo
ToString() ToString() ToString()

Returns the string representation of this member

Applies to