System.Runtime.CompilerServices.AccessedThroughPropertyAttribute Class

Specifies the name of the property that accesses the attributed field.

See Also: AccessedThroughPropertyAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Field)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AccessedThroughPropertyAttribute : Attribute

Remarks

You can apply this attribute to fields.

This attribute is for use by browsers or tools, and is ignored by the common language runtime.

The classes in System.Runtime.CompilerServices are for compiler writers use only.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0