Share via


AssemblyElement Class [IIS 7 and higher]

Specifies an assembly reference that is used during compilation of an ASP.NET Web application.

Syntax

class AssemblyElement : CollectionElement

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the AssemblyElement class.

Name

Description

Assembly

A required unique read/write string value that specifies an assembly reference that is used during compilation of an ASP.NET Web application. The key property.

NoteNote:
The assembly name is a comma-delimited Unicode string in the following format: Name <,Culture = CultureInfo> <,Version = Major.Minor.Build.Revision> <,StrongName> <,PublicKeyToken>.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are exposed as members of the Assemblies property on the AssemblySettings class.

Inheritance Hierarchy

CollectionElement

   AssemblyElement

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

AssemblySettings Class [IIS 7 and higher]

CollectionElement Class [IIS 7 and higher]