共用方式為


SettingsManager.GetCommonExtensionsSearchPaths Method

Returns the list of folders that Visual Studio uses to install or look for machine-wide extensions.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'宣告
Public MustOverride Function GetCommonExtensionsSearchPaths As IEnumerable(Of String)
public abstract IEnumerable<string> GetCommonExtensionsSearchPaths()

Return Value

Type: System.Collections.Generic.IEnumerable<String>

.NET Framework Security

See Also

Reference

SettingsManager Class

Microsoft.VisualStudio.Settings Namespace