This documentation is archived and is not being maintained.

AccessedThroughPropertyAttribute Class

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

For a list of all members of this type, see AccessedThroughPropertyAttribute Members.


[Visual Basic]
NotInheritable Public Class AccessedThroughPropertyAttribute
   Inherits Attribute
public sealed class AccessedThroughPropertyAttribute : Attribute
public __gc __sealed class AccessedThroughPropertyAttribute :
   public Attribute
class AccessedThroughPropertyAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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.


Namespace: System.Runtime.CompilerServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

AccessedThroughPropertyAttribute Members | System.Runtime.CompilerServices Namespace