LocalizationResources.UnrecognizedArgument 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将值内插到类似于无法识别的参数“”{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>