PSPropertySet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |