System.RuntimeFieldHandle.GetAttributes C# (CSharp) Метод

GetAttributes() приватный Метод

private GetAttributes ( ) : FieldAttributes
Результат FieldAttributes
        internal extern FieldAttributes GetAttributes(); 
        

Usage Example

Пример #1
0
 internal RtFieldInfo(
     RuntimeFieldHandle handle, RuntimeType declaringType, RuntimeTypeCache reflectedTypeCache, BindingFlags bindingFlags) 
     : base(reflectedTypeCache, declaringType, bindingFlags)
 {
     m_fieldHandle = handle;
     m_fieldAttributes = m_fieldHandle.GetAttributes();
 }