共用方式為


SessionStateFunctionEntry Class

Definition

public ref class SessionStateFunctionEntry sealed : System::Management::Automation::Runspaces::SessionStateCommandEntry
public sealed class SessionStateFunctionEntry : System.Management.Automation.Runspaces.SessionStateCommandEntry
type SessionStateFunctionEntry = class
    inherit SessionStateCommandEntry
Public NotInheritable Class SessionStateFunctionEntry
Inherits SessionStateCommandEntry
Inheritance

Constructors

SessionStateFunctionEntry(String, String, ScopedItemOptions, String)

Represents a function definition in an Initial session state object.

SessionStateFunctionEntry(String, String, String)

Represents a function definition in an Initial session state object.

SessionStateFunctionEntry(String, String)

Represents a function definition in an Initial session state object.

Properties

CommandType

Returns the type of the command using an enum instead of requiring a full reflection type check.

(Inherited from SessionStateCommandEntry)
Definition

The string to use to define this function...

HelpFile

The name of the help file associated with the function.

Module

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Name

The name of this entry.

(Inherited from InitialSessionStateEntry)
Options

Options controlling scope visibility and setability for this entry.

PSSnapIn

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Visibility (Inherited from ConstrainedSessionStateEntry)

Methods

Clone()

Shallow-clone this object...

Applies to