导入并返回标识具有指定名称的数据流支持XML。
命名空间: Microsoft.VisualStudio.Data.Core
程序集: Microsoft.VisualStudio.Data.Core(在 Microsoft.VisualStudio.Data.Core.dll 中)
语法
声明
Function ImportSupportStream ( _
name As String _
) As Stream
Stream ImportSupportStream(
string name
)
Stream^ ImportSupportStream(
String^ name
)
abstract ImportSupportStream :
name:string -> Stream
function ImportSupportStream(
name : String
) : Stream
参数
- name
类型:System.String
导入的流的名称。
返回值
类型:System.IO.Stream
;如果没有流找到具有此名称,包含数据的一个打开流支持XML要导入的或 nullnull 引用(在 Visual Basic 中为 Nothing)。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。