This topic has not yet been rated - Rate this topic

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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.