Export (0) Print
Expand All

CmdletCommonMetadataAttribute Class

Serves as a base class for attributes that specify cmdlet functionality, such as the Cmdlet and CmdletBinding attribute. 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 CmdletCommonMetadataAttribute

[AttributeUsageAttribute(AttributeTargets.Class)] 
public abstract class CmdletCommonMetadataAttribute : CmdletMetadataAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public abstract class CmdletCommonMetadataAttribute extends CmdletMetadataAttribute
AttributeUsageAttribute(AttributeTargets.Class) 
public abstract class CmdletCommonMetadataAttribute extends CmdletMetadataAttribute

The Cmdlet attribute is used to declare a .NET Framework class as a Windows PowerShell cmdlet class. For more information about using this attribute, see Cmdlet Attribute Declaration. The CmdletBinding attribute is used when writing Windows PowerShell advanced functions. For more information about using this attribute, see about_Functions_Advanced


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