Share via


BinaryResource.OpenStream Method

When overridden in a derived class, opens a stream on the resource.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Function OpenStream ( _
    access As FileAccess _
) As Stream
public abstract Stream OpenStream(
    FileAccess access
)
public:
virtual Stream^ OpenStream(
    FileAccess access
) abstract
abstract OpenStream : 
        access:FileAccess -> Stream 
public abstract function OpenStream(
    access : FileAccess
) : Stream

Parameters

Return Value

Type: System.IO.Stream
A Stream on the resource.

Remarks

Currently ReadWrite access is not allowed. The stream does not lock any disk-based file.

.NET Framework Security

See Also

Reference

BinaryResource Class

Microsoft.Windows.Design.Services Namespace

Other Resources

WPF Designer Extensibility Architecture