你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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