IndexBatch.Create Method

 

Applies To: Microsoft Azure

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static Create(IndexAction[])

Creates a new instance of the IndexBatch class.

System_CAPS_pubmethodSystem_CAPS_static Create<T>(IEnumerable<IndexAction<T>>)

Creates a new instance of the IndexBatch class.

System_CAPS_pubmethodSystem_CAPS_static Create<T>(IndexAction<T>[])

Creates a new instance of the IndexBatch class.

See Also

IndexBatch Class
Microsoft.Azure.Search.Models Namespace

Return to top

IndexBatch.Create Method (IndexAction[])

Creates a new instance of the IndexBatch class.

Syntax

public static IndexBatch Create(
    params IndexAction[] actions
)
public:
static IndexBatch^ Create(
    ... array<IndexAction^>^ actions
)
static member Create : 
        [<ParamArrayAttribute>] actions:IndexAction[] -> IndexBatch
Public Shared Function Create (
    ParamArray actions As IndexAction()
) As IndexBatch

Parameters

Return Value

Type: Microsoft.Azure.Search.Models.IndexBatch

A new IndexBatch.

Return to top

IndexBatch.Create<T> Method (IEnumerable<IndexAction<T>>)

Creates a new instance of the IndexBatch class.

Syntax

public static IndexBatch<T> Create<T>(
    IEnumerable<IndexAction<T>> actions
)
where T : class
public:
generic<typename T>
where T : ref class
static IndexBatch<T>^ Create(
    IEnumerable<IndexAction<T>^>^ actions
)
static member Create<'T when 'T : not struct> : 
        actions:IEnumerable<IndexAction<'T>> -> IndexBatch<'T>
Public Shared Function Create(Of T As Class) (
    actions As IEnumerable(Of IndexAction(Of T))
) As IndexBatch(Of T)

Parameters

Return Value

Type: Microsoft.Azure.Search.Models.IndexBatch<T>

A new IndexBatch.

Type Parameters

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

Remarks

You can use this method as a convenience if you don't want to explicitly specify your model class as a type parameter.

Return to top

IndexBatch.Create<T> Method (IndexAction<T>[])

Creates a new instance of the IndexBatch class.

Syntax

public static IndexBatch<T> Create<T>(
    params IndexAction<T>[] actions
)
where T : class
public:
generic<typename T>
where T : ref class
static IndexBatch<T>^ Create(
    ... array<IndexAction<T>^>^ actions
)
static member Create<'T when 'T : not struct> : 
        [<ParamArrayAttribute>] actions:IndexAction<'T>[] -> IndexBatch<'T>
Public Shared Function Create(Of T As Class) (
    ParamArray actions As IndexAction(Of T)()
) As IndexBatch(Of T)

Parameters

Return Value

Type: Microsoft.Azure.Search.Models.IndexBatch<T>

A new IndexBatch.

Type Parameters

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

Remarks

You can use this method as a convenience if you don't want to explicitly specify your model class as a type parameter.

Return to top