LocalizationResources.UnrecognizedArgument Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interpolates values into a localized string similar to Argument '{0}' not recognized. Must be one of:{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
Parameters
- unrecognizedArg
- String
- allowedValues
- IReadOnlyCollection<String>
Returns
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา