KnownAssemblyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The attribute which informs the code generator that code should be generated an assembly.
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public class KnownAssemblyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type KnownAssemblyAttribute = class
inherit Attribute
Public Class KnownAssemblyAttribute
Inherits Attribute
- Inheritance
-
KnownAssemblyAttribute
- Attributes
Constructors
KnownAssemblyAttribute(String) |
Initializes a new instance of KnownAssemblyAttribute. |
KnownAssemblyAttribute(Type) |
Initializes a new instance of KnownAssemblyAttribute. |
Properties
Assembly |
Gets or sets the assembly to include in code generation. |
TreatTypesAsSerializable |
Gets or sets a value indicating whether or not to assume that all types in the specified assembly are serializable. |