ScriptMethodData Class

Definition

ScriptMethodData represents a ScriptMethod definition.

public ref class ScriptMethodData sealed : System::Management::Automation::Runspaces::TypeMemberData
public sealed class ScriptMethodData : System.Management.Automation.Runspaces.TypeMemberData
[System.Diagnostics.DebuggerDisplay("ScriptMethod: {Name,nq}")]
public sealed class ScriptMethodData : System.Management.Automation.Runspaces.TypeMemberData
type ScriptMethodData = class
    inherit TypeMemberData
[<System.Diagnostics.DebuggerDisplay("ScriptMethod: {Name,nq}")>]
type ScriptMethodData = class
    inherit TypeMemberData
Public NotInheritable Class ScriptMethodData
Inherits TypeMemberData
Inheritance
ScriptMethodData
Attributes

Constructors

ScriptMethodData(String, ScriptBlock)

ScriptMethodData constructor.

Properties

Name

The name of the member.

(Inherited from TypeMemberData)
Script

The script method.

Applies to