0 out of 2 rated this helpful - Rate this topic

CmdletAttribute Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)
'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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)