<Directives> 元素 (.NET Native)

.NET Native 的每个运行时指令文件中的根元素。

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">

语法

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
   <!-- child elements -->
</Directives>

特性

属性 说明
xmlns XML 命名空间。 其值始终为 http://schemas.microsoft.com/netfx/2013/01/metadata

子元素

元素 说明
<应用程序> 作为应用程序范围内的类型和其元数据可以用于反射的类型成员的容器而服务。
<库> 定义那些子类型和类型成员在运行时间要求元数据的程序集。

注解

每个运行时指令文件都可以只包含一个 <Directives> 元素。

<Directives> 元素可以包含零个或一个 <Application> 元素,以及零个、一个或多个 <Library> 元素。

另请参阅