Share via


PropertyName Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the name of the property used to access the attributed field.

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

Syntax

'Declaration
Public ReadOnly Property PropertyName As String
public string PropertyName { get; }
public:
property String^ PropertyName {
    String^ get ();
}
member PropertyName : string with get
function get PropertyName () : String

Property Value

Type: System. . :: . .String
The name of the property used to access the attributed field.

.NET Framework Security

See Also

Reference

AccessedThroughPropertyAttribute Class

System.Runtime.CompilerServices Namespace