Partager via


CmdletMetadataAttribute Class

Definition

Serves as the base class for Metadata attributes.

public ref class CmdletMetadataAttribute abstract : Attribute
[System.AttributeUsage(System.AttributeTargets.All)]
public abstract class CmdletMetadataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type CmdletMetadataAttribute = class
    inherit Attribute
Public MustInherit Class CmdletMetadataAttribute
Inherits Attribute
Inheritance
CmdletMetadataAttribute
Derived
Attributes

Remarks

PSSnapins may not create custom attributes derived directly from CmdletMetadataAttribute, since it has no public constructor. Only the public subclasses ValidateArgumentsAttribute and ArgumentTransformationAttribute are available.

Applies to

See also