共用方式為


Utilities Class

Microsoft internal use only.

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.Utilities

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

Syntax

'宣告
<ExtensionAttribute> _
Public NotInheritable Class Utilities
public static class Utilities

The Utilities type exposes the following members.

Methods

  Name Description
Public methodStatic member CallCatchingExceptions
Public methodStatic member Convert(IVsUIObject, __VSUIDATAFORMAT)
Public methodStatic member Convert(IVsUIObject, __VSUIDATAFORMAT, IServiceProvider)
Public methodStatic member Count
Public methodStatic member GetItem
Public methodStatic member GetObjectData Microsoft internal use only.
Public methodStatic member GetObjectFormat Microsoft internal use only.
Public methodStatic member GetObjectType Microsoft internal use only.
Public methodStatic member GetTypedValue<T> Microsoft internal use only.
Public methodStatic member GetValue Microsoft internal use only.
Public methodStatic member GetValueAsFormat
Public methodStatic member Invoke
Public methodStatic member QueryTypedValue<T> Microsoft internal use only.
Public methodStatic member QueryValue Microsoft internal use only.
Public methodStatic member SetValue(IVsUIDataSource, String, IVsUIObject) Microsoft internal use only.
Public methodStatic member SetValue(IVsUIDataSource, String, Boolean)
Public methodStatic member SetValue(IVsUIDataSource, String, Object) Microsoft internal use only.

Top

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

Microsoft.Internal.VisualStudio.PlatformUI Namespace