SessionStateFunctionEntry Members

Defines a function for an initial session state configuration. The initial session state of a runspace defines the elements, such as functions, that are available when the runspace is opened. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the SessionStateFunctionEntry type.

  Name Description
  SessionStateFunctionEntry Overloaded. Initializes a new instance of the SessionStateFunctionEntry class. The variants of this constructor create an object that contains the name and definition of the function, the usage options of the function, and the help file name. This constructor is introduced by Windows PowerShell 2.0.
Top

  Name Description
public property CommandType  Gets the type of the command entry, such as a cmdlet, script, or function. This property is introduced in Windows PowerShell 2.0. (Inherited from SessionStateCommandEntry)
public property Definition Gets the name of the function for this entry. This property is introduced in Windows PowerShell 2.0.
public property HelpFile Gets the name of the help file associated with the function. Introduced in Windows PowerShell 3.0.
public property Module  Gets information about the module defined by this session state entry. This property is introduced in Windows PowerShell 2.0. (Inherited from InitialSessionStateEntry)
public property Name  Gets the name of the entry for the derived class. This property is introduced in Windows PowerShell 2.0. (Inherited from InitialSessionStateEntry)
public property Options Gets the usage options for the function of this entry. This property is introduced in Windows PowerShell 2.0.
public property PSSnapIn  Gets information about the snap-in defined by the session state entry. This property is introduced in Windows PowerShell 2.0. (Inherited from InitialSessionStateEntry)
public property Visibility  Gets and sets a Boolean value that indicates whether the session state entry is public or private. This property is introduced in Windows PowerShell 2.0. (Inherited from ConstrainedSessionStateEntry)
Top

(see also Protected Methods)
 NameDescription
public methodCloneOverridden. Creates an exact copy of the current SessionStateFunctionEntry object. This method is introduced in Windows PowerShell 2.0.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show: