NotInIdlAttribute Class

Indicates that a public member of a type annotated with IdlInterfaceAttribute is a .NET addition that has no WebIDL counterpart.

[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event, AllowMultiple = false, Inherited = false)]
public sealed class NotInIdlAttribute : Attribute
Inheritance
Attribute NotInIdlAttribute

Constructors

NameDescription
NotInIdlAttribute()Creates an attribute for a member that has no WebIDL counterpart.
NotInIdlAttribute(string)Creates an attribute for a member that has no WebIDL counterpart, with the reason why it exists.

NotInIdlAttribute overloads

NotInIdlAttribute()

NotInIdlAttribute.cs

Creates an attribute for a member that has no WebIDL counterpart.

public NotInIdlAttribute()

NotInIdlAttribute(string)

NotInIdlAttribute.cs

Creates an attribute for a member that has no WebIDL counterpart, with the reason why it exists.

public NotInIdlAttribute(string reason)
Parameters
reason string

Properties

NameDescription
ReasonGets the reason why this member exists.

Gets the reason why this member exists.

public string? Reason { get; }

Property value

string?