CmdLineException.ResourceKey(CmdLineError) 方法

定義

傳回資源檔中指定之錯誤的索引鍵。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 System::String ^ ResourceKey(Microsoft::JScript::CmdLineError errorCode);
public string ResourceKey (Microsoft.JScript.CmdLineError errorCode);
member this.ResourceKey : Microsoft.JScript.CmdLineError -> string
Public Function ResourceKey (errorCode As CmdLineError) As String

參數

errorCode
CmdLineError

其中一個列舉值。 指定要取得索引鍵的錯誤。

傳回

String

errorCode 的索引鍵。

適用於

另請參閱