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

MessageAttributeHelper.ContainsPreviewAttribute Method

Definition

public static bool ContainsPreviewAttribute (System.Management.Automation.CommandInfo commandInfo, System.Management.Automation.InvocationInfo invocationInfo);
static member ContainsPreviewAttribute : System.Management.Automation.CommandInfo * System.Management.Automation.InvocationInfo -> bool
Public Shared Function ContainsPreviewAttribute (commandInfo As CommandInfo, invocationInfo As InvocationInfo) As Boolean

Parameters

commandInfo
CommandInfo
invocationInfo
InvocationInfo

Returns

Applies to