FunctionInfo Class

Definition

Provides information about a function that is stored in session state.

public class FunctionInfo : System.Management.Automation.CommandInfo
Inheritance
FunctionInfo
Derived

Inherited Members

System.Management.Automation.CommandInfo

Properties

CmdletBinding

Returns true if this function uses cmdlet binding mode for its parameters; otherwise returns false.

DefaultParameterSet

Gets the name of the default parameter set.
Returns null if this function doesn't use cmdlet parameter binding or if the default parameter set wasn't specified.

Definition

Gets the definition of the function which is the ToString() of the ScriptBlock that implements the function.

Description

Gets or sets the description associated with the function

HelpFile

Gets the help file path for the function.

Noun

Gets the noun of the function.

Options

Gets or sets the scope options for the function.

OutputType

The output type(s) is specified in the script block

ScriptBlock

Gets the ScriptBlock which is the implementation of the function

Verb

Gets the verb of the function

Methods

Update(FunctionInfo, Boolean, ScopedItemOptions, String)