ApplicationPart Class

Contains methods to register assemblies as application parts.

Inheritance Hierarchy

System.Object
  System.Web.WebPages.ApplicationPart

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Class ApplicationPart
'Usage
Dim instance As ApplicationPart
public class ApplicationPart
public ref class ApplicationPart
type ApplicationPart =  class end
public class ApplicationPart

The ApplicationPart type exposes the following members.

Constructors

  Name Description
Public method ApplicationPart Initializes a new instance of the ApplicationPart class by using the specified assembly and root virtual path.

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 MemberwiseClone (Inherited from Object.)
Public methodStatic member ProcessVirtualPath Resolves a path to the specified assembly or resource within an assembly by using the specified base virtual path and specified virtual path.
Public methodStatic member Register Adds an assembly and all web pages within the assembly to the list of available application parts.
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

System.Web.WebPages Namespace