CmdLineException.ResourceKey(CmdLineError) Metod

Definition

Returnerar nyckeln för det angivna felet i en resursfil.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

errorCode
CmdLineError

Ett av uppräkningsvärdena. Anger det fel som nyckeln ska hämtas för.

Returer

Nyckeln för errorCode.

Gäller för

Se även