Export (0) Print
Expand All

CmdletAttribute Class

Identifies a .NET Framework class as a cmdlet, and defines the verb and noun name pair used to invoke the cmdlet.


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

'Usage
Dim instance As CmdletAttribute

[AttributeUsageAttribute(AttributeTargets.Class)] 
public sealed class CmdletAttribute : CmdletCommonMetadataAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public final class CmdletAttribute extends CmdletCommonMetadataAttribute
AttributeUsageAttribute(AttributeTargets.Class) 
public final class CmdletAttribute extends CmdletCommonMetadataAttribute

This attribute is used for .NET Framework classes that derive from the Cmdlet and PSCmdlet classes.

For more information about the declaration syntax used to specify the Cmdlet attribute, see Cmdlet Attribute Declaration.


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:
© 2014 Microsoft