nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / TypeInfo

TypeInfo

Full name Microsoft.VisualBasic.Scripting.MetaData.TypeInfo Assembly Microsoft.VisualBasic.Runtime Members 12

The clr type reference information.

00 Remarks

(类型信息)

01 Syntax

Microsoft.VisualBasic.Scripting.MetaData.TypeInfo

02 Methods

NameOverloadsSummary
.ctor 1 Creates type reference from the definition.
LoadAssembly 3 Loads the assembly file which contains this type.
GetType 1 Get mapping type information.
op_Equality 1 检查a是否是指向b的类型引用的
ToString 1
op_Inequality 1

03 Properties

NameOverloadsSummary
assembly 1 The assembly file which contains this type definition.
fullName 1 Type.FullName.
isSystemKnownType 1 Is this type object is a known system type?
reference 1

04 Members

method .ctor #
#ctor(Type, Boolean)

Creates type reference from the definition.

Parameters
NameTypeDescription
infoType

-

method LoadAssembly #
LoadAssembly(DefaultString)

Loads the assembly file which contains this type. If the is not a valid directory location, then using the location App.HOME as default.

method LoadAssembly overload 3 #
LoadAssembly(String())

Loads the assembly file which contains this type.

Parameters
NameTypeDescription
searchPathString()

SetDllDirectory

Returns

nothing for dll not found

method LoadAssembly overload 2 #
LoadAssembly(String, String())

Loads the assembly file which contains this type.

Parameters
NameTypeDescription
searchPathString

SetDllDirectory

assemblyString()

should be the file name of the assembly dll module file, example as: library.dll

Returns

nothing for dll not found

method GetType #
GetType(Boolean, Boolean, Exception, String())

Get mapping type information.

Remarks

the function of deps.TryHandleNetCore5AssemblyBugs() has been called automatically when the assembly is built for .netcore app

Parameters
NameTypeDescription
knownFirstBoolean

如果这个参数为真的话, 则会尝试直接从当前的应用程序域中查找类信息, 反之则会加载目标程序集进行类型信息查找

throwExBoolean

如果这个参数设置为False的话,则出错的时候会返回空值

searchPathException

A list of the candidates directory path for search dll files

getExceptionString()

DllNotFoundException

method op_Equality #
op_Equality(TypeInfo, Type)

检查a是否是指向b的类型引用的

Parameters
NameTypeDescription
aTypeInfo

-

bType

-

property assembly #
assembly

The assembly file which contains this type definition.

Remarks

(模块文件)

property fullName #
fullName

Type.FullName.

Remarks

(类型源)

property isSystemKnownType #
isSystemKnownType

Is this type object is a known system type?

Remarks

(是否是已知的类型?)

property reference #
reference
method ToString #
ToString()
method op_Inequality #
op_Inequality(TypeInfo, Type)