共用方式為


AuthoringSink.FindNames Property

Indicates whether identifiers are to be looked for.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'宣告
Public ReadOnly Property FindNames As Boolean
public bool FindNames { get; }

Property Value

Type: System.Boolean
Returns true if searching of names is to be done; otherwise, returns false (name searching is not allowed).

Remarks

This property is queried by the parser to determine if it should deal with finding member and method names while parsing and if so, call the methods QualifyName and StartName. This property examines the ParseReason and returns true if it is

MemberSelect, CompleteWord, MemberSelectAndHighlightBraces, DisplayMemberList, QuickInfo, MethodTip, or Autos.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace