RewriteTemplateFeature Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the base class used by all rewrite templates.
public ref class RewriteTemplateFeature abstract : IServiceProvider
public abstract class RewriteTemplateFeature : IServiceProvider
type RewriteTemplateFeature = class
interface IServiceProvider
Public MustInherit Class RewriteTemplateFeature
Implements IServiceProvider
- Inheritance
-
RewriteTemplateFeature
- Implements
Remarks
This class is marked as abstract
(MustInherit
in Visual Basic). Rewrite templates must inherit from this base class. The Run method is the only method that must be overridden by subclasses.
Constructors
RewriteTemplateFeature(Module, String, String) |
Creates an instance of a RewriteTemplateFeature object with the given module, title, and description. |
RewriteTemplateFeature(Module, String, String, Object, Object) |
Creates an instance of a RewriteTemplateFeature object with the given module, title, description, small image and large image. |
RewriteTemplateFeature(Module, String, String, Object, Object, RewriteTemplateCategory) |
Creates an instance of a RewriteTemplateFeature object with the given module, title, description, small image, large image, and rewrite template category. |
RewriteTemplateFeature(Module, String, String, RewriteTemplateCategory) |
Creates an instance of a RewriteTemplateFeature object with the given module, title, description, small image and rewrite template category. |
Properties
Category |
Gets the RewriteTemplateCategory of the RewriteTemplateFeature object. |
Connection |
Gets the Connection service that represents the current management unit. |
Description |
Gets a string that contains description information about the current module. |
IsEnabled |
Gets a Boolean value that indicates whether the RewriteTemplateFeature is enabled. |
LargeImage |
Gets the large icon displayed on the client-side user interface for this feature. |
Module |
Gets the client-side user interface module that this feature uses. |
ServiceProvider |
Gets the service provider.for the current feature. |
SmallImage |
Gets the small icon displayed on the client-side user interface for this feature. |
Title |
Gets the title displayed on the client-side user interface for this feature. |
Methods
DisplayErrorMessage(Exception, ResourceManager) |
Displays information about an exception on the user interface for the current feature. |
Equals(Object) |
Determines whether this instance and another specified object have the same value. |
GetHashCode() |
Gets the hash value for the current object. |
GetService(Type) |
Gets the service object of the specified type. |
Navigate(Type) |
Directs the client to navigate to the specified page type. |
Navigate(Type, Object) |
Directs the client to navigate to the specified page type. |
Run() |
Runs the current feature. |
ShowDialog(DialogForm) |
Shows the specified DialogForm on the client. |
ShowMessage(String, String) |
Shows a message box with the features specified by the parameters. |
ShowMessage(String, String, MessageBoxButtons, MessageBoxIcon) |
Shows a message box with the features specified by the parameters. |
ShowMessage(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) |
Shows a message box with the features specified by the parameters. |
Explicit Interface Implementations
IServiceProvider.GetService(Type) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for