Used for cases where an evaluate can return a byte[] or other object and the engine needs the data as an InputStream. Converts if needed(does nothing if passed in an InputStream).
Syntax
| Visual Basic (Declaration) | |
|---|
Public Shared Function convertToInputStream( _
ByVal data As Object _
) As java.io.InputStream |
| Visual Basic (Usage) | Copy Code |
|---|
Dim data As Object
Dim value As java.io.InputStream
value = DotNetDatasourceBase.convertToInputStream(data) |
| C# | |
|---|
public static java.io.InputStream convertToInputStream(
object data
) |
| Managed Extensions for C++ | |
|---|
public: static java.io.InputStream* convertToInputStream(
Object* data
) |
| C++/CLI | |
|---|
public:
static java.io.InputStream^ convertToInputStream(
Object^ data
) |
Parameters
- data
- The data that may need to be converted.
Return Value
The data placed in an InoutStream.
Requirements
Platforms: Windows 10, Windows NT, Windows Server
See Also