共用方式為


ExtensionMethods Class

This API is not CLS-compliant. 

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

Syntax

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.ExtensionMethods

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

ExtensionMethods Members

Microsoft.VisualStudio.PlatformUI Namespace