共用方式為


LanguagePreferences.HideAdvancedMembers Property

Gets or sets whether or not advanced members are hidden in the IntelliSense members list.

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

Syntax

'宣告
Public Property HideAdvancedMembers As Boolean
public bool HideAdvancedMembers { get; set; }

Property Value

Type: System.Boolean
true if advanced members are hidden, otherwise false = show all members.

Remarks

Advanced members include private members. This property is not used in the default managed package framework language service classes.

This property affects the preferences value fHideAdvancedAutoListMembers.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

Microsoft.VisualStudio.Package Namespace