Class SearchMatchV2
The search match v2 object
Inheritance
System.Object
SearchMatchV2
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class SearchMatchV2
Constructors
| Improve this Doc View SourceSearchMatchV2(MetadataV2, SearchMatchTypeV2, IEnumerable<HighlightSpan>)
Initializes a new instance of the SearchMatchV2 class.
Declaration
public SearchMatchV2(MetadataV2 metadata, SearchMatchTypeV2 matchType = null, IEnumerable<HighlightSpan> highlightSpans = null)
Parameters
Type | Name | Description |
---|---|---|
MetadataV2 | metadata | The metadata for the matched file or folder. |
SearchMatchTypeV2 | matchType | The type of the match. |
System.Collections.Generic.IEnumerable<HighlightSpan> | highlightSpans | The list of HighlightSpan determines which parts of the file title should be highlighted. |
Properties
| Improve this Doc View SourceHighlightSpans
The list of HighlightSpan determines which parts of the file title should be highlighted.
Declaration
public IList<HighlightSpan> HighlightSpans { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<HighlightSpan> |
MatchType
The type of the match.
Declaration
public SearchMatchTypeV2 MatchType { get; protected set; }
Property Value
Type | Description |
---|---|
SearchMatchTypeV2 |
Metadata
The metadata for the matched file or folder.
Declaration
public MetadataV2 Metadata { get; protected set; }
Property Value
Type | Description |
---|---|
MetadataV2 |