Method SetValueForMember

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

SetValueForMember(T, string, object)

Sets the value for the member.

protected abstract void SetValueForMember(T document, string memberName, object value)

Parameters

document T

The document.

memberName string

Name of the member.

value object

The value.