共用方式為


PackageUtilities Class

A set of static utilities for filenames, paths, enumeration/string conversions, images, and other functions.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public NotInheritable Class PackageUtilities
'用途
You do not need to declare an instance of a static class in order to access its members.
public static class PackageUtilities
public ref class PackageUtilities abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type PackageUtilities =  class end
public final class PackageUtilities

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.PackageUtilities

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PackageUtilities Members

Microsoft.VisualStudio.Shell Namespace