Class SearchDocument | Quick Search | 2.0.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class SearchDocument

    Represents a searchable document that has been indexed.

    Inheritance
    Object
    SearchDocument
    Namespace: Unity.QuickSearch
    Syntax
    public class SearchDocument

    Constructors

    SearchDocument(String, String)

    Create a new SearchDocument

    Declaration
    public SearchDocument(string id, string metadata = null)
    Parameters
    Type Name Description
    String id

    Document Id

    String metadata

    Additional data about this document

    Properties

    id

    Document unique id in the search index.

    Declaration
    public string id { get; }
    Property Value
    Type Description
    String

    metadata

    Additional meta data about the document

    Declaration
    public string metadata { get; }
    Property Value
    Type Description
    String

    Methods

    ToString()

    Returns the document id string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Returns a string representation of the Document.

    Overrides
    Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023