AppManagedIndexableAppContent.CreateFromTextStream Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreateFromTextStream(String, Int32, AppIndexTextStreamEncoding, IInputStream) | |
| CreateFromTextStream(String, Int32, AppIndexTextStreamEncoding, IInputStream, ContentRegionTextOptions) |
CreateFromTextStream(String, Int32, AppIndexTextStreamEncoding, IInputStream)
public:
static AppManagedIndexableAppContent ^ CreateFromTextStream(Platform::String ^ contentId, int contentByteCount, AppIndexTextStreamEncoding encoding, IInputStream ^ textStream);
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("CreateFromTextStream")]
static AppManagedIndexableAppContent CreateFromTextStream(winrt::hstring const& contentId, int const& contentByteCount, AppIndexTextStreamEncoding const& encoding, IInputStream const& textStream);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("CreateFromTextStream")]
public static AppManagedIndexableAppContent CreateFromTextStream(string contentId, int contentByteCount, AppIndexTextStreamEncoding encoding, IInputStream textStream);
function createFromTextStream(contentId, contentByteCount, encoding, textStream)
Public Shared Function CreateFromTextStream (contentId As String, contentByteCount As Integer, encoding As AppIndexTextStreamEncoding, textStream As IInputStream) As AppManagedIndexableAppContent
Parameters
- contentId
-
String
Platform::String
winrt::hstring
- contentByteCount
-
Int32
int
- encoding
- AppIndexTextStreamEncoding
- textStream
- IInputStream
Returns
- Attributes
Applies to
CreateFromTextStream(String, Int32, AppIndexTextStreamEncoding, IInputStream, ContentRegionTextOptions)
public:
static AppManagedIndexableAppContent ^ CreateFromTextStream(Platform::String ^ contentId, int contentByteCount, AppIndexTextStreamEncoding encoding, IInputStream ^ textStream, ContentRegionTextOptions ^ regionOptions);
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("CreateFromTextStreamWithOptions")]
static AppManagedIndexableAppContent CreateFromTextStream(winrt::hstring const& contentId, int const& contentByteCount, AppIndexTextStreamEncoding const& encoding, IInputStream const& textStream, ContentRegionTextOptions const& regionOptions);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("CreateFromTextStreamWithOptions")]
public static AppManagedIndexableAppContent CreateFromTextStream(string contentId, int contentByteCount, AppIndexTextStreamEncoding encoding, IInputStream textStream, ContentRegionTextOptions regionOptions);
function createFromTextStream(contentId, contentByteCount, encoding, textStream, regionOptions)
Public Shared Function CreateFromTextStream (contentId As String, contentByteCount As Integer, encoding As AppIndexTextStreamEncoding, textStream As IInputStream, regionOptions As ContentRegionTextOptions) As AppManagedIndexableAppContent
Parameters
- contentId
-
String
Platform::String
winrt::hstring
- contentByteCount
-
Int32
int
- encoding
- AppIndexTextStreamEncoding
- textStream
- IInputStream
- regionOptions
- ContentRegionTextOptions
Returns
- Attributes