Freigeben über


AccessedThroughPropertyAttribute-Klasse

Gibt den Namen der Eigenschaft an, die auf das attributierte Feld zugreift.

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Field)> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class AccessedThroughPropertyAttribute
    Inherits Attribute
'Usage
Dim instance As AccessedThroughPropertyAttribute
[AttributeUsageAttribute(AttributeTargets.Field)] 
[ComVisibleAttribute(true)] 
public sealed class AccessedThroughPropertyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Field)] 
[ComVisibleAttribute(true)] 
public ref class AccessedThroughPropertyAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Field) */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class AccessedThroughPropertyAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Field) 
ComVisibleAttribute(true) 
public final class AccessedThroughPropertyAttribute extends Attribute

Hinweise

Dieses Attribut kann auf Felder angewendet werden.

Dieses Attribut wird für Browser oder Tools verwendet und wird von der Common Language Runtime ignoriert.

Die Klassen in System.Runtime.CompilerServices können nur von Compilerschreibern verwendet werden.

Vererbungshierarchie

System.Object
   System.Attribute
    System.Runtime.CompilerServices.AccessedThroughPropertyAttribute

Threadsicherheit

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

AccessedThroughPropertyAttribute-Member
System.Runtime.CompilerServices-Namespace