ImportManyAttribute 類別

定義

指定屬性、欄位或參數應該填入主機容器的所有相符匯出。

public ref class ImportManyAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public class ImportManyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type ImportManyAttribute = class
    inherit Attribute
Public Class ImportManyAttribute
Inherits Attribute
繼承
ImportManyAttribute
屬性

建構函式

名稱 Description
ImportManyAttribute()

初始化該類別的新實例 ImportManyAttribute ,匯入具有預設合約名稱的匯出集合。

ImportManyAttribute(String)

初始化該類別的新實例 ImportManyAttribute ,匯入具有指定合約名稱的匯出集合。

屬性

名稱 Description
ContractName

取得出口合約名稱,輸入進口。

方法

名稱 Description
Equals(Object)

傳回值,這個值表示這個實例是否等於指定的物件。

(繼承來源 Attribute)
GetHashCode()

傳回這個實例的哈希碼。

(繼承來源 Attribute)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於