RuntimeOps.ExpandoTryDeleteValue 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.
Caution
do not use this method
Deletes the value of an item in an expando object.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool ExpandoTryDeleteValue(System::Dynamic::ExpandoObject ^ expando, System::Object ^ indexClass, int index, System::String ^ name, bool ignoreCase);
[System.Obsolete("do not use this method", true)]
public static bool ExpandoTryDeleteValue (System.Dynamic.ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase);
[<System.Obsolete("do not use this method", true)>]
static member ExpandoTryDeleteValue : System.Dynamic.ExpandoObject * obj * int * string * bool -> bool
Public Shared Function ExpandoTryDeleteValue (expando As ExpandoObject, indexClass As Object, index As Integer, name As String, ignoreCase As Boolean) As Boolean
Parameters
- expando
- ExpandoObject
The expando object.
- indexClass
- Object
The class of the expando object.
- index
- Int32
The index of the member.
- name
- String
The name of the member.
- ignoreCase
- Boolean
true if the name should be matched ignoring case; false otherwise.
Returns
true
if the item was successfully removed; otherwise, false
.
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om