Share via


Extension Class

Applies to v2.

Represents a starting point for creating a WebMatrix extension.

Inheritance Hierarchy

System.Object
  Microsoft.WebMatrix.Extensibility.Extension

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public MustInherit Class Extension
'Usage
Dim instance As Extension
public abstract class Extension
public ref class Extension abstract
[<AbstractClassAttribute>]
type Extension =  class end
public abstract class Extension

The Extension type exposes the following members.

Constructors

  Name Description
Public method Extension Initializes a new instance of the Extension class.

Top

Properties

  Name Description
Public property ContextualTabItems Gets a collection of RibbonContextualTab instances.
Public property DashboardItems Gets a sequence of dashboard items.
Public property HasInstaller Gets a value that indicates whether the extension has installation UI that it would like to display.
Public property IsInstalled Gets a value that indicates whether the extension installation is complete.
Public property Name Gets or sets the user-friendly name of the extension.
Public property RibbonItems Gets a sequence of Ribbon items that are always available.
Public property Version Gets the user-friendly version of the extension.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method Initialize Initializes when the WebMatrixHost property gets a value for the first time.
Protected method MemberwiseClone (Inherited from Object.)
Public method OnInstall Override to present additional UI when the extension is first added to WebMatrix using the extension dialog box.
Public method ToString (Inherited from Object.)

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.WebMatrix.Extensibility Namespace