PropertyInfo.IsSpecialName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the property is the special name.
public:
property bool IsSpecialName { bool get(); };
public bool IsSpecialName { get; }
member this.IsSpecialName : bool
Public ReadOnly Property IsSpecialName As Boolean
Property Value
true
if this property is the special name; otherwise, false
.
Implements
Remarks
The SpecialName
bit is set to flag members that are treated in a special way by some compilers (such as property accessors and operator overloading methods).
To get the IsSpecialName
property, first get the class Type
. From the Type
, get the PropertyInfo
. From the PropertyInfo
, get the IsSpecialName
value.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om