Type

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.reflect
  • Platforms: .NET, .NET Standard 2.0, Island


Required Methods


Align

 

method Align: Int32

 

Int32 Align()

 

func Align() -> Int32

 

func Align() Int32

 

Function Align() As Int32

AssignableTo

 

method AssignableTo(u: Type): Boolean

 

Boolean AssignableTo(Type u)

 

func AssignableTo(_ u: Type) -> Boolean

 

func AssignableTo(u Type) Boolean

 

Function AssignableTo(u As Type) As Boolean

Parameters:

  • u:

Bits

 

method Bits: Int32

 

Int32 Bits()

 

func Bits() -> Int32

 

func Bits() Int32

 

Function Bits() As Int32

ChanDir

 

method ChanDir: ChanDir

 

ChanDir ChanDir()

 

func ChanDir() -> ChanDir

 

func ChanDir() ChanDir

 

Function ChanDir() As ChanDir

Comparable

 

method Comparable: Boolean

 

Boolean Comparable()

 

func Comparable() -> Boolean

 

func Comparable() Boolean

 

Function Comparable() As Boolean

ConvertibleTo

 

method ConvertibleTo(u: Type): Boolean

 

Boolean ConvertibleTo(Type u)

 

func ConvertibleTo(_ u: Type) -> Boolean

 

func ConvertibleTo(u Type) Boolean

 

Function ConvertibleTo(u As Type) As Boolean

Parameters:

  • u:

Elem

 

method Elem: Type

 

Type Elem()

 

func Elem() -> Type

 

func Elem() Type

 

Function Elem() As Type

Field

 

method Field(i: Int32): StructField

 

StructField Field(Int32 i)

 

func Field(_ i: Int32) -> StructField

 

func Field(i Int32) StructField

 

Function Field(i As Int32) As StructField

Parameters:

  • i:

FieldAlign

 

method FieldAlign: Int32

 

Int32 FieldAlign()

 

func FieldAlign() -> Int32

 

func FieldAlign() Int32

 

Function FieldAlign() As Int32

FieldByIndex

 

method FieldByIndex(i: Slice<Int64>): StructField

 

StructField FieldByIndex(Slice<Int64> i)

 

func FieldByIndex(_ i: Slice<Int64>) -> StructField

 

func FieldByIndex(i Slice<Int64>) StructField

 

Function FieldByIndex(i As Slice<Int64>) As StructField

Parameters:

  • i:

FieldByName

 

method FieldByName(aname: String): tuple of (StructField, Boolean)

 

(StructField, Boolean) FieldByName(String aname)

 

func FieldByName(_ aname: String) -> (StructField, Boolean)

 

func FieldByName(aname String) tuple of (StructField, Boolean)

 

Function FieldByName(aname As String) As Tuple (Of StructField, Boolean)

Parameters:

  • aname:

FieldByNameFunc

 

// .NET, .NET Standard 2.0
method FieldByNameFunc(match: Func<String, Boolean>): tuple of (StructField, Boolean)
// Island
method FieldByNameFunc(match: Func<RemObjects.Elements.System.String,RemObjects.Elements.System.Boolean>): tuple of (StructField, Boolean)

 

// .NET, .NET Standard 2.0
(StructField, Boolean) FieldByNameFunc(Func<String, Boolean> match)
// Island
(StructField, Boolean) FieldByNameFunc(Func<RemObjects.Elements.System.String,RemObjects.Elements.System.Boolean> match)

 

// .NET, .NET Standard 2.0
func FieldByNameFunc(_ match: Func<String, Boolean>) -> (StructField, Boolean)
// Island
func FieldByNameFunc(_ match: Func<RemObjects.Elements.System.String,RemObjects.Elements.System.Boolean>) -> (StructField, Boolean)

 

// .NET, .NET Standard 2.0
func FieldByNameFunc(match Func<String, Boolean>) tuple of (StructField, Boolean)
// Island
func FieldByNameFunc(match Func<RemObjects.Elements.System.String,RemObjects.Elements.System.Boolean>) tuple of (StructField, Boolean)

 

// .NET, .NET Standard 2.0
Function FieldByNameFunc(match As Func (Of String, Boolean)) As Tuple (Of StructField, Boolean)
// Island
Function FieldByNameFunc(match As Func<RemObjects.Elements.System.String,RemObjects.Elements.System.Boolean>) As Tuple (Of StructField, Boolean)

Parameters:

  • match:

Implements

 

method Implements(u: Type): Boolean

 

Boolean Implements(Type u)

 

func Implements(_ u: Type) -> Boolean

 

func Implements(u Type) Boolean

 

Function Implements(u As Type) As Boolean

Parameters:

  • u:

In

 

method In(i: Int32): Type

 

Type In(Int32 i)

 

func In(_ i: Int32) -> Type

 

func In(i Int32) Type

 

Function In(i As Int32) As Type

Parameters:

  • i:

IsVariadic

 

method IsVariadic: Boolean

 

Boolean IsVariadic()

 

func IsVariadic() -> Boolean

 

func IsVariadic() Boolean

 

Function IsVariadic() As Boolean

Key

 

method Key: Type

 

Type Key()

 

func Key() -> Type

 

func Key() Type

 

Function Key() As Type

Kind

 

method Kind: Kind

 

Kind Kind()

 

func Kind() -> Kind

 

func Kind() Kind

 

Function Kind() As Kind

Len

 

method Len: Int32

 

Int32 Len()

 

func Len() -> Int32

 

func Len() Int32

 

Function Len() As Int32

Method

 

method Method(i: Int32): Method

 

Method Method(Int32 i)

 

func Method(_ i: Int32) -> Method

 

func Method(i Int32) Method

 

Function Method(i As Int32) As Method

Parameters:

  • i:

MethodByName

 

method MethodByName(s: String): tuple of (Method, Boolean)

 

(Method, Boolean) MethodByName(String s)

 

func MethodByName(_ s: String) -> (Method, Boolean)

 

func MethodByName(s String) tuple of (Method, Boolean)

 

Function MethodByName(s As String) As Tuple (Of Method, Boolean)

Parameters:

  • s:

Name

 

method Name: String

 

String Name()

 

func Name() -> String

 

func Name() String

 

Function Name() As String

NumField

 

method NumField: Int32

 

Int32 NumField()

 

func NumField() -> Int32

 

func NumField() Int32

 

Function NumField() As Int32

NumIn

 

method NumIn: Int32

 

Int32 NumIn()

 

func NumIn() -> Int32

 

func NumIn() Int32

 

Function NumIn() As Int32

NumMethod

 

method NumMethod: Int32

 

Int32 NumMethod()

 

func NumMethod() -> Int32

 

func NumMethod() Int32

 

Function NumMethod() As Int32

NumOut

 

method NumOut: Int32

 

Int32 NumOut()

 

func NumOut() -> Int32

 

func NumOut() Int32

 

Function NumOut() As Int32

Out

 

method Out(i: Int32): Type

 

Type Out(Int32 i)

 

func Out(_ i: Int32) -> Type

 

func Out(i Int32) Type

 

Function Out(i As Int32) As Type

Parameters:

  • i:

PkgPath

 

method PkgPath: String

 

String PkgPath()

 

func PkgPath() -> String

 

func PkgPath() String

 

Function PkgPath() As String

Size

 

method Size: UIntPtr

 

UIntPtr Size()

 

func Size() -> UIntPtr

 

func Size() UIntPtr

 

Function Size() As UIntPtr

String

 

method String: String

 

String String()

 

func String() -> String

 

func String() String

 

Function String() As String