This topic has not yet been rated - Rate this topic

CmdletCommonMetadataAttribute Class

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

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

Windows Developer Preview, Windows Server Developer Preview

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