System.Reflection.MetadataImport.GetCustomAttributeProps C# (CSharp) Method

GetCustomAttributeProps() public method

public GetCustomAttributeProps ( int customAttributeToken, int &constructorToken, ConstArray &signature ) : void
customAttributeToken int
constructorToken int
signature ConstArray
return void
        public void GetCustomAttributeProps( 
            int customAttributeToken, 
            out int constructorToken, 
            out ConstArray signature)
        {
            _GetCustomAttributeProps(m_metadataImport2, out MetadataArgs.Skip, customAttributeToken, 
                out constructorToken, out signature);
        }

Usage Example

Esempio n. 1
0
        internal static CustomAttributeRecord[] GetCustomAttributeRecords(RuntimeModule module, int targetToken)
        {
            MetadataImport     metadataImport = module.MetadataImport;
            MetadataEnumResult result;

            metadataImport.EnumCustomAttributes(targetToken, out result);
            CustomAttributeRecord[] customAttributeRecordArray = new CustomAttributeRecord[result.Length];
            for (int index = 0; index < customAttributeRecordArray.Length; ++index)
            {
                metadataImport.GetCustomAttributeProps(result[index], out customAttributeRecordArray[index].tkCtor.Value, out customAttributeRecordArray[index].blob);
            }
            return(customAttributeRecordArray);
        }
All Usage Examples Of System.Reflection.MetadataImport::GetCustomAttributeProps