ExpandoObjectSerializerTryGetValueForMember Method |
Tries to get the value for a member. Returns true if the member should be serialized.
Namespace:
MongoDB.Bson.Serialization.Serializers
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax protected override bool TryGetValueForMember(
ExpandoObject value,
string memberName,
out Object memberValue
)
Protected Overrides Function TryGetValueForMember (
value As ExpandoObject,
memberName As String,
<OutAttribute> ByRef memberValue As Object
) As Boolean
abstract TryGetValueForMember :
value : ExpandoObject *
memberName : string *
memberValue : Object byref -> bool
override TryGetValueForMember :
value : ExpandoObject *
memberName : string *
memberValue : Object byref -> bool
Parameters
- value
- Type: System.DynamicExpandoObject
The value. - memberName
- Type: SystemString
Name of the member. - memberValue
- Type: SystemObject
The member value.
Return Value
Type:
Booleantrue if the member should be serialized; otherwise
false.
See Also