共用方式為


SafeControls Element (Solution)

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 the safe controls of an assembly that are included in a solution.

<SafeControls>
  <SafeControl
    Assembly = "Text"
    Namespace = "Text"
    Safe = "TRUE" | "FALSE"
    TypeName = "Text"/>
  ...
</SafeControls>

Attributes

Attribute

Description

None

N/A

Child Elements

SafeControl

Parent Elements

Assembly

Example

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

Microsoft.Win32.RegistryKey#4