public sealed class FieldMask : IEquatable<FieldMask>
An immutable set of field paths, used to limit the data returned by calls to GetAllSnapshotsAsync(IEnumerable<DocumentReference>, CancellationToken) and similar calls.
Implements
IEquatable<FieldMask>Namespace
Google.Cloud.FirestoreAssembly
Google.Cloud.Firestore.dll
Constructors
FieldMask(FieldPath[])
public FieldMask(params FieldPath[] paths)
Creates a mask from the given paths.
Parameter | |
---|---|
Name | Description |
paths | FieldPath[] The segments of the path. This must not be null, and it must not contain any null elements. |
FieldMask(String[])
public FieldMask(params string[] paths)
Creates a mask from the given paths. Each path is treated as a dot-separated sequence of field names.
Parameter | |
---|---|
Name | Description |
paths | String[] The paths, as dot-separated strings. This must not be null, and it must not contain any null or empty elements. |
Methods
GetHashCode()
public override int GetHashCode()
Returns | |
---|---|
Type | Description |
Int32 |