Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSPropertySet Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a set of properties.

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

System.Object
  System.Management.Automation.PSMemberInfo
    System.Management.Automation.PSPropertySet

public class PSPropertySet : PSMemberInfo

NameDescription
System_CAPS_pubmethodPSPropertySet(String, IEnumerable<String>)

Creates a new PSPropertySet object that contains the name of the property set and the properties in the set.

NameDescription
System_CAPS_pubpropertyIsInstance

Gets a value that indicates whether the source of the member is a type configuration file.(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyMemberType

Gets the type of properties in the property set.(Overrides PSMemberInfo.MemberType.)

System_CAPS_pubpropertyName

Gets the name of the extended member (method, property, or member set).(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyReferencedPropertyNames

Gets the names of the properties in the property set.

System_CAPS_pubpropertyTypeNameOfValue

Gets a PropertySet enumeration constant that defines this set as a property set.(Overrides PSMemberInfo.TypeNameOfValue.)

System_CAPS_pubpropertyValue

Gets or sets the PSPropertySet object.(Overrides PSMemberInfo.Value.)

NameDescription
System_CAPS_pubmethodCopy()

Makes an exact copy of the current PSPropertySet object.(Overrides PSMemberInfo.Copy().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetMemberName(String)

Sets the name of the extended member. This method is introduced in Windows PowerShell 2.0.(Inherited from PSMemberInfo.)

System_CAPS_pubmethodToString()

Converts the current PSPropertySet object to a string.(Overrides Object.ToString().)

A property set typically defines a subset of the properties of a specific PSObject type. In general, a property set can be used whenever a collection of properties (of the same type) is needed. For more information about the property sets, see ETS Member Sets [ps].

For more information about the different types of properties, see ETS Properties [ps].

Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so might result in unexpected behavior.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

Show: