Language

AppManagedIndexableAppContent.CreateFromTextStream Method

Definition

Overloads

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

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

textStream
IInputStream
regionOptions
ContentRegionTextOptions

Returns

Attributes

Applies to