StorageInfo.StreamExists Method (String)

 

Returns a value that indicates whether a given stream exists.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public bool StreamExists(
	string name
)

Parameters

name
Type: System.String

The StreamInfo name to check for.

Return Value

Type: System.Boolean

true if a stream with the specified name exists; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: