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)

'Usage
Dim instance As CmdletMetadataAttribute

[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

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