Windows Dev Center

CommandMetadata Class

Provides access to the metadata that describes a command, such as the name, type, and parameters of the command. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As CommandMetadata

[DebuggerDisplayAttribute(L"CommandName = {_commandName}; Type = {CommandType}")] 
public ref class CommandMetadata sealed
/** @attribute DebuggerDisplayAttribute("CommandName = {_commandName}; Type = {CommandType}") */ 
public final class CommandMetadata
DebuggerDisplayAttribute("CommandName = {_commandName}; Type = {CommandType}") 
public final class CommandMetadata

This information is used by the ProxyCommand class to create a proxy for the command described here.


System.Object
  System.Management.Automation.CommandMetadata

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft