CmdletMetadataAttribute Class
Serves as the base class for all cmdlet attribute classes provided by Windows PowerShell.
Namespace: System.Management.Automation.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Namespace: System.Management.Automation.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)
[AttributeUsageAttribute(AttributeTargets.All)] public abstract class CmdletMetadataAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.All) */ public abstract class CmdletMetadataAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.All) public abstract class CmdletMetadataAttribute extends Attribute
Snap-ins cannot create custom attributes that derive directly from CmdletMetadataAttribute because there is no public constructor. However, snap-ins can derive custom attributes from the ValidateArgumentsAttribute and ArgumentTransformationAttribute classes.
System.Object
System.Attribute
System.Management.Automation.Internal.CmdletMetadataAttribute
Derived Classes
System.Attribute
System.Management.Automation.Internal.CmdletMetadataAttribute
Derived Classes
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 PreviewSend comments about this topic to Microsoft.