MarkLogic XCC/.Net Library

ContentFactory.NewUnBufferedContent Method (String, Uri, ContentCreateOptions)

Create a new, non-rewindable Content object from a URL.

[Visual Basic]
Overloads Public Shared Function NewUnBufferedContent( _
   ByVal uri As String, _
   ByVal documentUrl As Uri, _
   ByVal createOptions As ContentCreateOptions _
) As Content
[C#]
public static Content NewUnBufferedContent(
   string uri,
   Uri documentUrl,
   ContentCreateOptions createOptions
);

Parameters

uri
The URI (name) with which the document will be inserted into the content store. If the URI already exists in the store, it will be replaced with the new content.
documentUrl
A URL object that represents the location from which the content can be fetched.
createOptions
Creation meta-information to be applied when the content is inserted into the contentbase. These options control the document format (xml, text, binary) and access permissions.

Return Value

A Content object suitable for passing to Session.insertContent(Content)

See Also

ContentFactory Class | Marklogic.Xcc Namespace | ContentFactory.NewUnBufferedContent Overload List