LocalizationResources.UnrecognizedArgument 方法

定义

将值内插到类似于无法识别的参数“”{0}的本地化字符串中。 必须是以下项之一:{1}

public:
 virtual System::String ^ UnrecognizedArgument(System::String ^ unrecognizedArg, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ allowedValues);
public virtual string UnrecognizedArgument (string unrecognizedArg, System.Collections.Generic.IReadOnlyCollection<string> allowedValues);
abstract member UnrecognizedArgument : string * System.Collections.Generic.IReadOnlyCollection<string> -> string
override this.UnrecognizedArgument : string * System.Collections.Generic.IReadOnlyCollection<string> -> string
Public Overridable Function UnrecognizedArgument (unrecognizedArg As String, allowedValues As IReadOnlyCollection(Of String)) As String

参数

unrecognizedArg
String
allowedValues
IReadOnlyCollection<String>

返回

适用于