PSMethod Members
Defines a method that provides access to a method of the base object or made accessible through an adapter. These methods are referred to as Windows PowerShell methods.
The following tables list the members exposed by the PSMethod type.
| Name | Description | |
|---|---|---|
|
IsInstance | Gets a value that indicates whether the source of the member is a type configuration file. (Inherited from PSMemberInfo) |
|
MemberType | Overridden. Gets an Method constant that identifies this method as a Windows PowerShell method. |
|
Name | Gets the name of the extended member (method, property, or member set). (Inherited from PSMemberInfo) |
|
OverloadDefinitions | Overridden. Gets the definitions of all the overloads of the underlying method. |
|
TypeNameOfValue | Overridden. Gets the ETS method type name of the method. |
|
Value | Overridden. Gets and sets the value of this method. (Inherited from PSMemberInfo) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
![]() | Copy | Overridden. Makes a copy of the current PSMethod object. |
![]() | Equals | (Inherited from Object) |
![]() | GetHashCode | (Inherited from Object) |
![]() | GetType | (Inherited from Object) |
![]() | Invoke | Overridden. Calls the underlying method. |
![]() | ToString | Overridden. Converts the PSMethod object to a string. |
| Name | Description | |
|---|---|---|
|
Finalize | (Inherited from Object) |
|
MemberwiseClone | (Inherited from Object) |
|
SetMemberName | Sets the name of the extended member. This method is introduced in Windows PowerShell 2.0. (Inherited from PSMemberInfo) |
Reference
PSMethod ClassSystem.Management.Automation Namespace
Other Resources
ETS MethodsWindows PowerShell SDK
Send comments about this topic to Microsoft.