IAttribute

Overview

This interface is used to retrieve information about attributes defined on external and internal members.

Location


 

Constructor

Returns the method this attribute is assigned to

 

property Constructor: IMethod read;

 

IMethod Constructor { get; }

 

var Constructor: IMethod { get{} }

 

IMethod Constructor { __get; }

 

ReadOnly Property Constructor() As IMethod

GetNamedParameterIsProperty

Returns the kind of member a named parameter is assigned to

 

method GetNamedParameterIsProperty(no: Int32): Boolean

 

Boolean GetNamedParameterIsProperty(Int32 no)

 

func GetNamedParameterIsProperty(_ no: Int32) -> Boolean

 

Boolean GetNamedParameterIsProperty(Int32 no)

 

Function GetNamedParameterIsProperty(no As Int32) As Boolean

Parameters:

  • no: index

GetNamedParameterName

Returns the name of a named parameter

 

method GetNamedParameterName(no: Int32): String

 

String GetNamedParameterName(Int32 no)

 

func GetNamedParameterName(_ no: Int32) -> String

 

String GetNamedParameterName(Int32 no)

 

Function GetNamedParameterName(no As Int32) As String

Parameters:

  • no: index

GetNamedParameterValue

Returns the value assigned to a named parameter

 

method GetNamedParameterValue(no: Int32): Value

 

Value GetNamedParameterValue(Int32 no)

 

func GetNamedParameterValue(_ no: Int32) -> Value

 

Value GetNamedParameterValue(Int32 no)

 

Function GetNamedParameterValue(no As Int32) As Value

Parameters:

  • no: index

GetParameter

Returns the value assigned to a regular attribute parameter

 

method GetParameter(no: Int32): Value

 

Value GetParameter(Int32 no)

 

func GetParameter(_ no: Int32) -> Value

 

Value GetParameter(Int32 no)

 

Function GetParameter(no As Int32) As Value

Parameters:

  • no: index

NamedParameterCount

Returns the number of named parameters

 

property NamedParameterCount: Int32 read;

 

Int32 NamedParameterCount { get; }

 

var NamedParameterCount: Int32 { get{} }

 

Int32 NamedParameterCount { __get; }

 

ReadOnly Property NamedParameterCount() As Int32

ParameterCount

Returns the number of regular parameters

 

property ParameterCount: Int32 read;

 

Int32 ParameterCount { get; }

 

var ParameterCount: Int32 { get{} }

 

Int32 ParameterCount { __get; }

 

ReadOnly Property ParameterCount() As Int32

Type

Returns the attribute type

 

property Type: IType read;

 

IType Type { get; }

 

var Type: IType { get{} }

 

IType Type { __get; }

 

ReadOnly Property Type() As IType

 

Constructor

Returns the method this attribute is assigned to

 

property Constructor: IMethod read;

 

IMethod Constructor { get; }

 

var Constructor: IMethod { get{} }

 

IMethod Constructor { __get; }

 

ReadOnly Property Constructor() As IMethod

NamedParameterCount

Returns the number of named parameters

 

property NamedParameterCount: Int32 read;

 

Int32 NamedParameterCount { get; }

 

var NamedParameterCount: Int32 { get{} }

 

Int32 NamedParameterCount { __get; }

 

ReadOnly Property NamedParameterCount() As Int32

ParameterCount

Returns the number of regular parameters

 

property ParameterCount: Int32 read;

 

Int32 ParameterCount { get; }

 

var ParameterCount: Int32 { get{} }

 

Int32 ParameterCount { __get; }

 

ReadOnly Property ParameterCount() As Int32

Type

Returns the attribute type

 

property Type: IType read;

 

IType Type { get; }

 

var Type: IType { get{} }

 

IType Type { __get; }

 

ReadOnly Property Type() As IType

 

GetNamedParameterIsProperty

Returns the kind of member a named parameter is assigned to

 

method GetNamedParameterIsProperty(no: Int32): Boolean

 

Boolean GetNamedParameterIsProperty(Int32 no)

 

func GetNamedParameterIsProperty(_ no: Int32) -> Boolean

 

Boolean GetNamedParameterIsProperty(Int32 no)

 

Function GetNamedParameterIsProperty(no As Int32) As Boolean

Parameters:

  • no: index

GetNamedParameterName

Returns the name of a named parameter

 

method GetNamedParameterName(no: Int32): String

 

String GetNamedParameterName(Int32 no)

 

func GetNamedParameterName(_ no: Int32) -> String

 

String GetNamedParameterName(Int32 no)

 

Function GetNamedParameterName(no As Int32) As String

Parameters:

  • no: index

GetNamedParameterValue

Returns the value assigned to a named parameter

 

method GetNamedParameterValue(no: Int32): Value

 

Value GetNamedParameterValue(Int32 no)

 

func GetNamedParameterValue(_ no: Int32) -> Value

 

Value GetNamedParameterValue(Int32 no)

 

Function GetNamedParameterValue(no As Int32) As Value

Parameters:

  • no: index

GetParameter

Returns the value assigned to a regular attribute parameter

 

method GetParameter(no: Int32): Value

 

Value GetParameter(Int32 no)

 

func GetParameter(_ no: Int32) -> Value

 

Value GetParameter(Int32 no)

 

Function GetParameter(no As Int32) As Value

Parameters:

  • no: index