Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Reflection
  3. PropertyInfo
  4. GetOptionalCustomModifiers()
  • PropertyInfo
    • PropertyInfo()
    • Attributes
    • CanRead
    • CanWrite
    • GetMethod
    • IsSpecialName
    • MemberType
    • PropertyType
    • SetMethod
    • Equals(Object)
    • GetAccessors()
    • GetAccessors(Boolean)
    • GetConstantValue()
    • GetGetMethod()
    • GetGetMethod(Boolean)
    • GetHashCode()
    • GetIndexParameters()
    • GetModifiedPropertyType()
    • GetOptionalCustomModifiers()
    • GetRawConstantValue()
    • GetRequiredCustomModifiers()
    • GetSetMethod()
    • GetSetMethod(Boolean)
    • GetType()
    • GetValue(Object)
    • GetValue(Object, Object[])
    • GetValue(Object, BindingFlags, Binder, Object[], CultureInfo)
    • SetValue(Object, Object)
    • SetValue(Object, Object, Object[])
    • SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)
    • operator !=(PropertyInfo, PropertyInfo)
    • operator ==(PropertyInfo, PropertyInfo)
    • GetAccessors(PropertyInfo)
    • GetAccessors(PropertyInfo, Boolean)
    • GetGetMethod(PropertyInfo)
    • GetGetMethod(PropertyInfo, Boolean)
    • GetSetMethod(PropertyInfo)
    • GetSetMethod(PropertyInfo, Boolean)
net6.0
namespace System.Reflection
{
    public abstract class PropertyInfo : MemberInfo
    {
        public virtual Type![]! GetOptionalCustomModifiers();
    }
}
.NET
5.06.07.08.09.010.011.0
.NET Core
1.01.12.02.12.23.03.1
.NET Framework
2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
1.51.62.02.1
Information specific to net6.0
Assembly

System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

10/25/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙