Search Results for

    Show / Hide Table of Contents

    Interface IRecord

    Provides access to the property values within each result for a IReader

    Namespace: OSGeo.MapGuide.MaestroAPI.Feature
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public interface IRecord
    Remarks
    • For each property, determine the property type and then call the appropriate Get<type>() method to get the value of the property.
    • The exception for this is if you are access the value via the indexer. In this case you only need determine the property type when casting from the System.Object that is returned by the indexer

    Properties

    | Improve this Doc View Source

    FieldCount

    Gets the number of fields in this record

    Declaration
    int FieldCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Item[Int32]

    Gets the object at the specified index

    Declaration
    object this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    Item[String]

    Gets the object value for the specified property

    Declaration
    object this[string name] { get; }
    Parameters
    Type Name Description
    System.String name
    Property Value
    Type Description
    System.Object

    Methods

    | Improve this Doc View Source

    GetBlob(Int32)

    Gets the blob value at the specified index

    Declaration
    byte[] GetBlob(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBlob(String)

    Gets the blob value of the specified property

    Declaration
    byte[] GetBlob(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBoolean(Int32)

    Gets the boolean value at the specified index

    Declaration
    bool GetBoolean(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetBoolean(String)

    Gets the boolean value of the specified property

    Declaration
    bool GetBoolean(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetByte(Int32)

    Gets the byte value at the specified index

    Declaration
    byte GetByte(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    GetByte(String)

    Gets the byte value of the specified property

    Declaration
    byte GetByte(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    GetClob(Int32)

    Gets the clob value at the specified index

    Declaration
    char[] GetClob(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    GetClob(String)

    Gets the clob value of the specified property

    Declaration
    char[] GetClob(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    GetDateTime(Int32)

    Gets the datetime value at the specified index

    Declaration
    DateTime GetDateTime(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.DateTime
    | Improve this Doc View Source

    GetDateTime(String)

    Gets the datetime value of the specified property

    Declaration
    DateTime GetDateTime(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.DateTime
    | Improve this Doc View Source

    GetDouble(Int32)

    Gets the double value at the specified index

    Declaration
    double GetDouble(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    GetDouble(String)

    Gets the double value of the specified property

    Declaration
    double GetDouble(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    GetFieldType(Int32)

    Gets the CLR type of the field at the specified index

    Declaration
    Type GetFieldType(int i)
    Parameters
    Type Name Description
    System.Int32 i
    Returns
    Type Description
    System.Type
    | Improve this Doc View Source

    GetGeometry(Int32)

    Gets the geometry value at the specified index

    Declaration
    IGeometryRef GetGeometry(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    IGeometryRef
    | Improve this Doc View Source

    GetGeometry(String)

    Gets the geometry value of the specified property

    Declaration
    IGeometryRef GetGeometry(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    IGeometryRef
    | Improve this Doc View Source

    GetInt16(Int32)

    Gets the int16 value at the specified index

    Declaration
    short GetInt16(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    GetInt16(String)

    Gets the int16 value of the specified property

    Declaration
    short GetInt16(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    GetInt32(Int32)

    Gets the int32 value at the specified index

    Declaration
    int GetInt32(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetInt32(String)

    Gets the int32 value of the specified property

    Declaration
    int GetInt32(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetInt64(Int32)

    Gets the int64 value at the specified index

    Declaration
    long GetInt64(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    GetInt64(String)

    Gets the int64 value of the specified property

    Declaration
    long GetInt64(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    GetName(Int32)

    Gets the name of the field at the specified index

    Declaration
    string GetName(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetPropertyType(Int32)

    Gets the type of the property at the specified index.

    Declaration
    PropertyValueType GetPropertyType(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Returns
    Type Description
    PropertyValueType
    | Improve this Doc View Source

    GetPropertyType(String)

    Gets the type of the property.

    Declaration
    PropertyValueType GetPropertyType(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Returns
    Type Description
    PropertyValueType
    | Improve this Doc View Source

    GetSingle(Int32)

    Gets the single value at the specified index

    Declaration
    float GetSingle(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    GetSingle(String)

    Gets the single value of the specified property

    Declaration
    float GetSingle(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    GetString(Int32)

    Gets the string value at the specified index

    Declaration
    string GetString(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetString(String)

    Gets the string value of the specified property

    Declaration
    string GetString(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    IsNull(Int32)

    Gets whether the property value at the specified index has a null property value. You must call this method first to determine if it is safe to call the corresponding GetXXX() methods

    Declaration
    bool IsNull(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsNull(String)

    Gets whether the specified property name has a null property value

    Declaration
    bool IsNull(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng