ReturnValueNameAttribute(String) 建構函式

定義

初始化 ReturnValueNameAttribute 類別的新執行個體,並且指定傳回值的名稱。

public:
 ReturnValueNameAttribute(System::String ^ name);
public ReturnValueNameAttribute (string name);
new System.Runtime.InteropServices.WindowsRuntime.ReturnValueNameAttribute : string -> System.Runtime.InteropServices.WindowsRuntime.ReturnValueNameAttribute
Public Sub New (name As String)

參數

name
String

傳回值的名稱。

適用於