StorageInfo Class
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides access and information for manipulating data stores in a Package.

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

SystemObject
  System.IO.PackagingStorageInfo

public class StorageInfo
public ref class StorageInfo 
type StorageInfo = class end
Public Class StorageInfo
NameDescription
System_CAPS_pubproperty

Gets the name of the store.

NameDescription
System_CAPS_pubmethod CreateStream

Creates a new stream with a given name.

System_CAPS_pubmethod CreateStream

Creates a new stream with a given name, CompressionOption, and EncryptionOption.

System_CAPS_pubmethod CreateSubStorage

Creates a new child StorageInfo with this StorageInfo as the parent.

System_CAPS_pubmethod DeleteStream

Deletes the stream with a specified name.

System_CAPS_pubmethod DeleteSubStorage

Deletes a specified sub-store.

System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetStreamInfo

Returns the StreamInfo instance with the given name.

System_CAPS_pubmethod GetStreams

Returns an array of the StreamInfo instances that are currently contained in this store.

System_CAPS_pubmethod GetSubStorageInfo

Returns the child sub-store with a given name.

System_CAPS_pubmethod GetSubStorages

Returns an array of the child sub-stores that are currently contained in this store.

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethod StreamExists

Returns a value that indicates whether a given stream exists.

System_CAPS_pubmethod SubStorageExists

Returns a value that indicates whether a given child sub-store exists.

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top