ComAliasNameAttribute(String) 建構函式

定義

使用屬性化欄位或參數的別名,初始化 ComAliasNameAttribute 類別的新執行個體。Initializes a new instance of the ComAliasNameAttribute class with the alias for the attributed field or parameter.

public:
 ComAliasNameAttribute(System::String ^ alias);
public ComAliasNameAttribute (string alias);
new System.Runtime.InteropServices.ComAliasNameAttribute : string -> System.Runtime.InteropServices.ComAliasNameAttribute
Public Sub New (alias As String)

參數

alias
String

當匯入時在型別程式庫中找到的欄位或參數的別名。The alias for the field or parameter as found in the type library when it was imported.

適用於