DocumentGetResponse<T> Class

 

Applies To: Microsoft Azure

Response containing a document from an Azure Search index.

Namespace:   Microsoft.Azure.Search.Models
Assembly:  Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Inheritance Hierarchy

System.Object
  Hyak.Common.HttpOperationResponse
    Microsoft.Azure.AzureOperationResponse
      Microsoft.Azure.Search.Models.DocumentGetResponseBase<T>
        Microsoft.Azure.Search.Models.DocumentGetResponse<T>

Syntax

public class DocumentGetResponse<T> : DocumentGetResponseBase<T>
where T : class
generic<typename T>
where T : ref class
public ref class DocumentGetResponse : DocumentGetResponseBase<T>
type DocumentGetResponse<'T when 'T : not struct> = 
    class
        inherit DocumentGetResponseBase<'T>
    end
Public Class DocumentGetResponse(Of T As Class)
    Inherits DocumentGetResponseBase(Of T)

Type Parameters

  • T
    The CLR type that maps to the index schema. Instances of this type can be retrieved as documents from the index.

Constructors

Name Description
System_CAPS_pubmethod DocumentGetResponse<T>()

Initializes a new instance of the DocumentGetResponse class.

Properties

Name Description
System_CAPS_pubproperty Document

Gets the document that was retrieved from the index. (Inherited from DocumentGetResponseBase<T>.)

System_CAPS_pubproperty RequestId

(Inherited from AzureOperationResponse.)

System_CAPS_pubproperty StatusCode

(Inherited from HttpOperationResponse.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Azure.Search.Models Namespace

Return to top