Export (0) Print
Expand All

FunctionInfo Members

Contains information about a Windows PowerShell function that is available in the session state.

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

  Name Description
public property CmdletBinding Gets a value that indicates whether the function uses the same parameter binding that compiled cmdlets use. This property is introduced in Windows PowerShell 2.0.
public property CommandType  Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script. (Inherited from CommandInfo)
public property DefaultParameterSet Gets the name of the parameter set that is used if Windows PowerShell cannot determine which parameter set to use when the function is run. This property is introduced in Windows PowerShell 2.0.
public property Definition Overridden. Gets the string definition of the function.
public property Description Gets or sets a description of the function. This property is introduced in Windows PowerShell 2.0.
public property HelpFile Gets the help file path for the function.
public property Module  Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property ModuleName  Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property Name  Gets the name of the command. (Inherited from CommandInfo)
public property Noun Gets the noun of the function.
public property Options Gets or sets the scope options for the function.
public property OutputType Overridden. Gets the .NET Framework types returned by the function.
public property Parameters  When overridden in a derived class, gets the parameters of the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property ParameterSets  Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property RemotingCapability  Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. (Inherited from CommandInfo)
public property ScriptBlock Gets the implementation of the function.
public property Verb Gets the verb of the function.
public property Visibility  When overridden in a derived class, gets or sets a constant that identifies whether the element is visible outside the runspace. For example, an element can be a private member of a module and therefore not visible to commands, such as pipeline commands, that are coming from outside the runspace. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodResolveParameter  Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using the parameter resolution algorithm in Windows PowerShell. (Inherited from CommandInfo)
public methodToString  Overridden. Converts the information object of the derived class to a string.  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft