InvokableCustomInitializerAttribute 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.
Applied to interface method attribute types to specify a method to be called on invokable objects which are created when invoking that interface method.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class InvokableCustomInitializerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type InvokableCustomInitializerAttribute = class
inherit Attribute
Public NotInheritable Class InvokableCustomInitializerAttribute
Inherits Attribute
- Inheritance
-
InvokableCustomInitializerAttribute
- Attributes
Constructors
InvokableCustomInitializerAttribute(String, Object) |
Initializes a new instance of the InvokableCustomInitializerAttribute class. |
InvokableCustomInitializerAttribute(String) |
Initializes a new instance of the InvokableCustomInitializerAttribute class. |
Properties
AttributeArgumentIndex |
Gets or sets the index of the attribute argument to propagate to the custom initializer method. |
AttributeArgumentName |
Gets or sets the name of the attribute argument to propagate to the custom initializer method. |
MethodArgumentValue |
Gets or sets the value to pass to the custom initializer method. |
MethodName |
Gets the name of the method. |