RuntimeOps.ExpandoTryGetValue(ExpandoObject, Object, Int32, String, Boolean, Object) Método
Definição
Cuidado
do not use this method
Obtém o valor de um item em um objeto expando.Gets the value of an item in an expando object.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
public:
static bool ExpandoTryGetValue(System::Dynamic::ExpandoObject ^ expando, System::Object ^ indexClass, int index, System::String ^ name, bool ignoreCase, [Runtime::InteropServices::Out] System::Object ^ % value);
[System.Obsolete("do not use this method", true)]
public static bool ExpandoTryGetValue (System.Dynamic.ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase, out object value);
[<System.Obsolete("do not use this method", true)>]
static member ExpandoTryGetValue : System.Dynamic.ExpandoObject * obj * int * string * bool * obj -> bool
Public Shared Function ExpandoTryGetValue (expando As ExpandoObject, indexClass As Object, index As Integer, name As String, ignoreCase As Boolean, ByRef value As Object) As Boolean
Parâmetros
- expando
- ExpandoObject
O objeto expando.The expando object.
- indexClass
- Object
A classe do objeto expando.The class of the expando object.
- index
- Int32
O índice do membro.The index of the member.
- name
- String
O nome do membro.The name of the member.
- ignoreCase
- Boolean
true se o nome precisar ser correspondido ignorando maiúsculas e minúsculas; caso contrário, false.true if the name should be matched ignoring case; false otherwise.
- value
- Object
O parâmetro out que contém o valor do membro.The out parameter containing the value of the member.
Retornos
true se o membro existir no objeto expando; caso contrário, false.true if the member exists in the expando object, otherwise false.
- Atributos