Edit

Share via


InvokableCustomInitializerAttribute Class

Definition

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)

Initializes a new instance of the InvokableCustomInitializerAttribute class.

InvokableCustomInitializerAttribute(String, Object)

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.

Applies to