共用方式為


Assembly Element (Solution - CodeAccessSecurity)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies an assembly in a solution's code access security policy.

<Assembly
  Name = "Text"
  PublicKeyBlob = "Text"
  Version = "Text">
</Assembly>

Attributes

Attribute

Description

Name

Optional Text. The name of the assembly.

PublicKeyBlob

Optional Text. The assembly's public key, in binary format.

Version

Optional Text. The version of the assembly.

Child Elements

None

Parent Elements

Assemblies

Example

For an example of how this element is used, see Solution Schema.

Microsoft.Win32.RegistryKey#4