Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1FilePicker Class / OpenRead Method

In This Topic
    OpenRead Method (C1FilePicker)
    In This Topic
    Opens the selected file for reading.
    Syntax
    'Declaration
     
    
    Public Function OpenRead() As Stream
    public Stream OpenRead()

    Return Value

    The stream of the selected file.
    Remarks
    In WPF partial trust it is not possible to access SelectedFile, but this method still works.
    See Also