共用方式為


TaskValidationMessage.IsMatch Method

Definition

Overloads

IsMatch(TaskItem)

determines if the specified taskItem represents this message.

IsMatch(IVsTaskItem)

determines if the specified taskItem represents this message.

IsMatch(TaskItem)

Important

This API is not CLS-compliant.

determines if the specified taskItem represents this message.

public:
 bool IsMatch(EnvDTE::TaskItem ^ taskItem);
[System.CLSCompliant(false)]
public bool IsMatch (EnvDTE.TaskItem taskItem);
public bool IsMatch (EnvDTE.TaskItem taskItem);
[<System.CLSCompliant(false)>]
member this.IsMatch : EnvDTE.TaskItem -> bool
member this.IsMatch : EnvDTE.TaskItem -> bool
Public Function IsMatch (taskItem As TaskItem) As Boolean

Parameters

taskItem
TaskItem

taskItem to check

Returns

true if the taskItem represents this message

Attributes

Applies to

IsMatch(IVsTaskItem)

Important

This API is not CLS-compliant.

determines if the specified taskItem represents this message.

public:
 bool IsMatch(Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^ taskItem);
[System.CLSCompliant(false)]
public bool IsMatch (Microsoft.VisualStudio.Shell.Interop.IVsTaskItem taskItem);
public bool IsMatch (Microsoft.VisualStudio.Shell.Interop.IVsTaskItem taskItem);
[<System.CLSCompliant(false)>]
member this.IsMatch : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem -> bool
member this.IsMatch : Microsoft.VisualStudio.Shell.Interop.IVsTaskItem -> bool
Public Function IsMatch (taskItem As IVsTaskItem) As Boolean

Parameters

taskItem
IVsTaskItem

taskItem to check

Returns

true if the taskItem represents this message

Attributes

Applies to