System.RuntimeFieldHandle.GetAttributes C# (CSharp) Method

GetAttributes() private method

private GetAttributes ( ) : FieldAttributes
return FieldAttributes
        internal extern FieldAttributes GetAttributes(); 
        

Usage Example

 internal RtFieldInfo(
     RuntimeFieldHandle handle, RuntimeType declaringType, RuntimeTypeCache reflectedTypeCache, BindingFlags bindingFlags) 
     : base(reflectedTypeCache, declaringType, bindingFlags)
 {
     m_fieldHandle = handle;
     m_fieldAttributes = m_fieldHandle.GetAttributes();
 }