Dela via


ContextNameCompleterAttribute Class

Definition

This attribute will allow the user to autocomplete the values for valid Azure Context names when applied to context name related cmdlet parameters.

public class ContextNameCompleterAttribute : System.Management.Automation.ArgumentCompleterAttribute, System.Management.Automation.IArgumentCompleter
type ContextNameCompleterAttribute = class
    inherit ArgumentCompleterAttribute
    interface IArgumentCompleter
Public Class ContextNameCompleterAttribute
Inherits ArgumentCompleterAttribute
Implements IArgumentCompleter
Inheritance
ContextNameCompleterAttribute
Implements

Constructors

ContextNameCompleterAttribute()

Initializes a new instance of ContextNameCompleterAttribute .

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations CompleteArgument function of the IArgumentCompleter.

Applies to