UseActivatorAttribute 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.
When applied to a type, indicates that the type should be activated using a registered activator rather than via its constructor or another mechanism.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
public sealed class UseActivatorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)>]
type UseActivatorAttribute = class
inherit Attribute
Public NotInheritable Class UseActivatorAttribute
Inherits Attribute
- Inheritance
-
UseActivatorAttribute
- Attributes
Constructors
UseActivatorAttribute() |