JsonObject.SetNamedValue(String, IJsonValue) 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.
public:
virtual void SetNamedValue(Platform::String ^ name, IJsonValue ^ value) = SetNamedValue;
void SetNamedValue(winrt::hstring const& name, IJsonValue const& value);
public void SetNamedValue(string name, IJsonValue value);
function setNamedValue(name, value)
Public Sub SetNamedValue (name As String, value As IJsonValue)
Parameters
- name
-
String
Platform::String
winrt::hstring
The specified name.
- value
- IJsonValue
The specified value.
Remarks
If value
is null
, then any existing value with the specified name is removed.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla