JsonObject.ContainsKey(String) Method
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.
Determines whether the JsonObject contains an element with the specified property name.
public:
virtual bool ContainsKey(System::String ^ propertyName);
C#
public bool ContainsKey(string propertyName);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (propertyName As String) As Boolean
- propertyName
- String
The property name to locate in the JsonObject.
true
if the JsonObject contains an element with the specified property name; otherwise, false
.
propertyName
is null
.
Продукт | Версії |
---|---|
.NET | 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: