指定在編譯 ASP.NET Web 應用程式期間使用的元件參考。
Syntax
class AssemblyElement : CollectionElement
方法
這個類別不包含任何方法。
屬性
下表列出 類別所 AssemblyElement 公開的屬性。
| 名稱 | 描述 |
|---|---|
Assembly |
必要的唯一讀取/寫入 string 值,指定在編譯 ASP.NET Web 應用程式期間使用的元件參考。 索引鍵屬性。 注意:元件名稱是以逗號分隔的 Unicode 字串,格式如下:Name< ,Culture = CultureInfo>< ,Version = Major.Minor.Build.Revision>< ,StrongName>< ,PublicKeyToken> 。 |
子類別
這個類別不包含子類別。
備註
這個類別的實例會公開為AssemblySettings類別上的 屬性成員 Assemblies 。
繼承階層架構
AssemblyElement
規格需求
| 類型 | 描述 |
|---|---|
| Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
| 伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF 檔案 | WebAdministration.mof |