ReadPreferenceWith Method (IEnumerableTagSet) |
Returns a new instance of ReadPreference with some values changed.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.1.0
Syntax public ReadPreference With(
IEnumerable<TagSet> tagSets
)
Public Function With (
tagSets As IEnumerable(Of TagSet)
) As ReadPreference
member With :
tagSets : IEnumerable<TagSet> -> ReadPreference
Parameters
- tagSets
- Type: System.Collections.GenericIEnumerableTagSet
The tag sets.
Return Value
Type:
ReadPreferenceA new instance of ReadPreference.
See Also