ComplexValueBuilder.RemoveProperty Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Overloads
| Method | Description |
|---|---|
| RemoveProperty(string) | Removes a property from the current object. |
| RemoveProperty(ReadOnlySpan<char>) | Removes a property from the current object. |
| RemoveProperty(ReadOnlySpan<byte>, bool, bool) | Removes a property from the current object. |
RemoveProperty(string)
Source: ComplexValueBuilder.cs
Removes a property from the current object.
public void RemoveProperty(string name)
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
RemoveProperty(ReadOnlySpan<char>)
Source: ComplexValueBuilder.cs
Removes a property from the current object.
public void RemoveProperty(ReadOnlySpan<char> name)
Parameters
| Name | Type | Description |
|---|---|---|
name |
ReadOnlySpan<char> |
The name of the property as a character span. |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
RemoveProperty(ReadOnlySpan<byte>, bool, bool)
Source: ComplexValueBuilder.cs
Removes a property from the current object.
public void RemoveProperty(ReadOnlySpan<byte> utf8Name, bool escapeName, bool nameRequiresUnescaping)
Parameters
| Name | Type | Description |
|---|---|---|
utf8Name |
ReadOnlySpan<byte> |
The UTF-8 name of the property. |
escapeName |
bool |
Indicates whether the name requires escaping. |
nameRequiresUnescaping |
bool |
If the name does not require escaping, indicates whether the name requires unescaping. |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue