Share via


LocalizationResources 類別

定義

提供可本地化的字串,以取得說明和錯誤訊息。

public ref class LocalizationResources
public class LocalizationResources
type LocalizationResources = class
Public Class LocalizationResources
繼承
LocalizationResources

建構函式

LocalizationResources()

初始化 LocalizationResources 類別的新執行個體。

屬性

Instance

取得類別的 LocalizationResources 全域實例。

方法

ArgumentConversionCannotParse(String, Type)

將值插補到類似無法剖析自變數 '{0}' 的本地化字串,如預期類型 {1}。

ArgumentConversionCannotParseForCommand(String, String, Type)

將值插入本地化字串中,類似於無法剖析命令 '' 的自變數 '{0}{1}',如預期類型 {2}。。

ArgumentConversionCannotParseForOption(String, String, Type)

將值插入本地化字串,類似於無法剖析選項 '' 的自變數 '{0}{1}',如預期類型 {2}。。

DirectoryDoesNotExist(String)

將值插補到類似 Directory 的當地語系化字串不存在: {0}。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
ErrorReadingResponseFile(String, IOException)

將值插入本地化字串,類似於讀取回應檔 『{0}時發生錯誤: {1}。

ExceptionHandlerHeader()

將值插入本地化字串,類似於未處理的例外狀況:。

ExpectsFewerArguments(Token, Int32, Int32)

將值插補到類似 Command '{0}' 的當地語系化字串,預期不超過 {1} 自變數,但 {2} 已提供。

ExpectsOneArgument(SymbolResult)

將值插補到類似 Command '{0}' 的當地語系化字串,需要單一自變數但 {1} 已提供。

FileDoesNotExist(String)

將值插補成類似檔案的當地語系化字串不存在: {0}。

FileOrDirectoryDoesNotExist(String)

將值插補到類似檔案或目錄的當地語系化字串中不存在: {0}。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetResourceString(String, Object[])

將值插入本地化字串。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
HelpAdditionalArgumentsDescription()

將值插入本地化字串,類似於傳遞至正在執行之應用程式的Arguments。

HelpAdditionalArgumentsTitle()

將值插入本地化字串,類似於其他Arguments:。

HelpArgumentDefaultValueLabel()

將值插入本地化字串,類似於預設值。

HelpArgumentsTitle()

將值插入本地化字串,類似於Arguments:。

HelpCommandsTitle()

將值插補成類似 Commands:的當地語系化字串。

HelpDescriptionTitle()

將值插入本地化字串,類似於 Description:。

HelpOptionDescription()

將值插入本地化字串,類似於顯示說明和使用方式資訊。

HelpOptionsRequiredLabel()

將值插入當地語系化字串,類似於 (REQUIRED) 。

HelpOptionsTitle()

將值插入本地化字串,類似於Options:。

HelpUsageAdditionalArguments()

將值插入本地化字串,類似於 [[--] <其他自變數>...]]。

HelpUsageCommand()

將值插補到類似 [command] 的當地語系化字串中。

HelpUsageOptions()

將值插補到類似 [options] 的當地語系化字串。

HelpUsageTitle()

將值插入本地化字串,類似於Usage:。

InvalidCharactersInFileName(Char)

將值插入本地化字串,類似於檔名中不允許的字元: {0}。

InvalidCharactersInPath(Char)

將值插入本地化字串,類似於路徑中不允許的字元: {0}。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
NoArgumentProvided(SymbolResult)

為命令 『{0}' 提供類似 No 自變數的當地語系化字串中的值。

RequiredArgumentMissing(SymbolResult)

將值插入當地語系化字串,類似於命令遺漏的必要自變數: {0}。

RequiredCommandWasNotProvided()

未提供與必要命令類似的當地語系化字串中的值。

ResponseFileNotFound(String)

將值插入本地化字串,類似於找不到回應檔 『{0}』。

SuggestionsTokenNotMatched(String)

將值插補到類似 『{0}' 的當地語系化字串中。 您是否表示下列其中一項?。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
UnrecognizedArgument(String, IReadOnlyCollection<String>)

將值插入本地化字串中,類似於無法辨識自變數 '{0}' 的當地語系化字串。 必須是下列其中一個:{1}

UnrecognizedCommandOrArgument(String)

將值插入本地化字串,類似於無法辨識的命令或自變數 '{0}'。

VersionOptionCannotBeCombinedWithOtherArguments(String)

將值插補到類似 {0} 選項的當地語系化字串,無法與其他自變數結合。

VersionOptionDescription()

將值插入本地化字串,類似於 [顯示版本資訊]。

適用於