CmdLineException.ResourceKey(CmdLineError) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳資源檔案中指定錯誤的金鑰。
此 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
其中一個列舉值。 指定取得金鑰的錯誤。
傳回
的 errorCode鑰匙。