This documentation is archived and is not being maintained.

WebPartAuthorizationEventArgs Members

Provides data for the AuthorizeWebPart event.

The WebPartAuthorizationEventArgs type exposes the following members.

  NameDescription
Public method WebPartAuthorizationEventArgs Initializes a new instance of the WebPartAuthorizationEventArgs class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property AuthorizationFilter Gets the string value assigned to the AuthorizationFilter property of a WebPart control, used for authorizing whether a control can be added to a page.
Public property IsAuthorized Gets or sets the value indicating whether a Web Parts control can be added to a page.
Public property IsShared Gets a value that indicates whether a Web Parts control is visible to all users of a Web Parts page.
Public property Path Gets the relative application path to the source file for the control being authorized, if the control is a user control.
Public property Type Gets the Type of the Web Parts control being checked for authorization.
Top
Show: