[Visual Basic] Overloads Public Shared Function NewContent( _ ByVal uri As String, _ ByVal documentString As String, _ ByVal createOptions As ContentCreateOptions _ ) As Content
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.
documentString
A String which will be stored as the content of the document. If the createOptions argument selects DocumentFormat.BINARY, the bytes representing the UTF-8 encoding of the String will be stored.
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)