次の方法で共有


PSPropertySet Class

Definition

Serves as a list of property names.

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

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>)

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

Properties

IsInstance

True if this member has been added to the instance as opposed to coming from the adapter or from type data.

(Inherited from PSMemberInfo)
MemberType

Gets the member type.

Name

Gets the member name.

(Inherited from PSMemberInfo)
ReferencedPropertyNames

Gets the property names in this property set.

TypeNameOfValue

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

Value

Gets the PSPropertySet itself.

Methods

Copy()

Returns a new PSMemberInfo that is a copy of this PSMemberInfo.

SetMemberName(String)

Allows a derived class to set the member name...

(Inherited from PSMemberInfo)
ToString()

Returns the string representation of this member.

Applies to