CmdletProviderAttribute CmdletProviderAttribute CmdletProviderAttribute CmdletProviderAttribute Class

Definition

Declares a class as a Cmdlet provider.

public ref class CmdletProviderAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class CmdletProviderAttribute : Attribute
type CmdletProviderAttribute = class
    inherit Attribute
Public NotInheritable Class CmdletProviderAttribute
Inherits Attribute
Inheritance
CmdletProviderAttributeCmdletProviderAttributeCmdletProviderAttributeCmdletProviderAttribute
Attributes

Remarks

The class must be derived from System.Management.Automation.Provider.CmdletProvider to

be recognized by the runspace.

Constructors

CmdletProviderAttribute(String, ProviderCapabilities) CmdletProviderAttribute(String, ProviderCapabilities) CmdletProviderAttribute(String, ProviderCapabilities) CmdletProviderAttribute(String, ProviderCapabilities)

Constructor for the attribute.

Properties

ProviderCapabilities ProviderCapabilities ProviderCapabilities ProviderCapabilities

Gets the flags that represent the capabilities of the provider.

ProviderName ProviderName ProviderName ProviderName

Gets the name of the provider.

Applies to