DocumentServiceQueryable.CreateAttachmentQuery<T> Method (DocumentClient, String, FeedOptions)
Creates and returns a query for attachments.
Namespace: Microsoft.Azure.Documents.Linq
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAttachmentQuery(Of T) ( _
client As DocumentClient, _
documentLink As String, _
feedOptions As FeedOptions _
) As IOrderedQueryable(Of T)
'Usage
Dim client As DocumentClient
Dim documentLink As String
Dim feedOptions As FeedOptions
Dim returnValue As IOrderedQueryable(Of T)
returnValue = client.CreateAttachmentQuery(documentLink, _
feedOptions)
public static IOrderedQueryable<T> CreateAttachmentQuery<T>(
this DocumentClient client,
string documentLink,
FeedOptions feedOptions
)
[ExtensionAttribute]
public:
generic<typename T>
static IOrderedQueryable<T>^ CreateAttachmentQuery(
DocumentClient^ client,
String^ documentLink,
FeedOptions^ feedOptions
)
static member CreateAttachmentQuery :
client:DocumentClient *
documentLink:string *
feedOptions:FeedOptions -> IOrderedQueryable<'T>
JScript does not support generic types and methods.
Type Parameters
- T
The type of object to query.
Parameters
- client
Type: Microsoft.Azure.Documents.Client.DocumentClient
The DocumentClient to use.
- documentLink
Type: System.String
The self-link to the document.
- feedOptions
Type: Microsoft.Azure.Documents.Client.FeedOptions
The options for processing the query results feed.
Return Value
Type: System.Linq.IOrderedQueryable<T>
The query result set.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type DocumentClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=azure.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=azure.100).
See Also
Reference
DocumentServiceQueryable Class