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.

PSMethodInfo Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Serves as a base class for all extended member classes that act like methods, such as the PSScriptMethod and PSCodeMethod classes.

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


Public MustInherit Class PSMethodInfo
	Inherits PSMemberInfo

NameDescription
System_CAPS_protmethodPSMethodInfo()

Creates a new PSMethodInfo object.

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

When overridden in a derived class, gets the Extended Type System (ETS) member type of the member.(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyName

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

System_CAPS_pubpropertyOverloadDefinitions

Gets a collection of the descriptions for all the overloads of the method.

System_CAPS_pubpropertyTypeNameOfValue

When overridden in a derived class, gets the name of the .NET Framework type of the member value.(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyValue

Gets and sets the value of this method.(Overrides PSMemberInfo.Value.)

NameDescription
System_CAPS_pubmethodCopy()

When overridden in a derived class, creates an exact copy of the current PSMemberInfo object.(Inherited from PSMemberInfo.)

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_pubmethodInvoke(Object())

Invokes the appropriate method overload based on the specified arguments.

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

(Inherited from Object.)

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
Show: