Table of Contents

Class CallerMemberNameAttribute

Namespace
System.Runtime.CompilerServices
Assembly
nanoFramework.System.Runtime.dll

Allows you to obtain the method or property name of the caller to the method.

[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
public sealed class CallerMemberNameAttribute : Attribute
Inheritance
CallerMemberNameAttribute
Inherited Members
Extension Methods

Constructors

CallerMemberNameAttribute()

Initializes a new instance of the CallerMemberNameAttribute class.

public CallerMemberNameAttribute()