共用方式為


VsSearchTask.ErrorCode Property

Gets or sets the error code describing the search result if the search task has completed with errors. If the task completes without errors, this property is set to zero (0).

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Property ErrorCode As Integer
public int ErrorCode { get; protected set; }

Property Value

Type: System.Int32

Implements

IVsSearchTask.ErrorCode

.NET Framework Security

See Also

Reference

VsSearchTask Class

Microsoft.VisualStudio.Shell Namespace