VisualBasicSettings 類別

定義

包含設定,這個設定可讓 VisualBasicValue<TResult>VisualBasicReference<TResult> 執行個體用來編譯所包含之運算式的來源文字。Contains settings that VisualBasicValue<TResult> and VisualBasicReference<TResult> instances use to compile the source text of the expressions they contain.

public ref class VisualBasicSettings
[System.ComponentModel.TypeConverter(typeof(Microsoft.VisualBasic.Activities.XamlIntegration.VisualBasicSettingsConverter))]
public class VisualBasicSettings
type VisualBasicSettings = class
Public Class VisualBasicSettings
繼承
VisualBasicSettings
屬性

備註

這些設定包括編譯運算式所需的組件參考和匯入的命名空間。These settings include assembly references and imported namespaces required to compile an expression.

建構函式

VisualBasicSettings()

初始化 VisualBasicSettings 類別的新執行個體。Initializes a new instance of the VisualBasicSettings class.

屬性

Default

取得包含組件參考和所匯入命名空間之預設集的 VisualBasicSettingsGets a VisualBasicSettings that contains the default set of assembly references and imported namespaces. 這個預設集可供指定之 VisualBasicValue<TResult> 中的所有 VisualBasicReference<TResult>AppDomain 執行個體使用。This set is available to all VisualBasicValue<TResult> and VisualBasicReference<TResult> instances in a given AppDomain.

ImportReferences

取得 VisualBasicImportReference 物件的集合,每一個物件都表示一個組件參考和一個從組件匯入的命名空間。Gets a collection of VisualBasicImportReference objects, each of which represents an assembly reference and a namespace imported from that assembly.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於