Search Results for

    Show / Hide Table of Contents

    Class NpgsqlTsVector

    Represents a PostgreSQL tsvector.

    Inheritance
    Object
    NpgsqlTsVector
    Implements
    IEnumerable<NpgsqlTsVector.Lexeme>
    IEnumerable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlTsVector : IEnumerable<NpgsqlTsVector.Lexeme>, IEnumerable

    Properties

    | Improve this Doc

    Count

    Gets the number of lexemes.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc

    Item[Int32]

    Returns the lexeme at a specific index

    Declaration
    public NpgsqlTsVector.Lexeme this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    NpgsqlTsVector.Lexeme

    Methods

    | Improve this Doc

    GetEnumerator()

    Returns an enumerator.

    Declaration
    public IEnumerator<NpgsqlTsVector.Lexeme> GetEnumerator()
    Returns
    Type Description
    IEnumerator<NpgsqlTsVector.Lexeme>
    | Improve this Doc

    Parse(String)

    Parses a tsvector in PostgreSQL's text format.

    Declaration
    public static NpgsqlTsVector Parse(string value)
    Parameters
    Type Name Description
    String value
    Returns
    Type Description
    NpgsqlTsVector
    | Improve this Doc

    ToString()

    Gets a string representation in PostgreSQL's format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc

    IEnumerable.GetEnumerator()

    Returns an enumerator.

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team