Compartir a través de


SettingsStore.GetMemoryStream(String, String) Method

Definition

Returns the value of the requested property whose data type is Binary. In order to access the underlying byte array at once ToArray() method can be used.

public:
 abstract System::IO::MemoryStream ^ GetMemoryStream(System::String ^ collectionPath, System::String ^ propertyName);
public abstract System.IO.MemoryStream GetMemoryStream (string collectionPath, string propertyName);
abstract member GetMemoryStream : string * string -> System.IO.MemoryStream
Public MustOverride Function GetMemoryStream (collectionPath As String, propertyName As String) As MemoryStream

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

Returns

MemoryStream for the stream of bytes this property.

Exceptions

Throws this exception if the property is of different type or if it does not exist.

Remarks

This method is safe to access from any thread.

Applies to