Leadtools.Codecs Namespace > CodecsAsyncCompletedEventArgs Class : Stream Property |
public Stream Stream {get;}
'Declaration Public ReadOnly Property Stream As Stream
'Usage Dim instance As CodecsAsyncCompletedEventArgs Dim value As Stream value = instance.Stream
public Stream Stream {get;}
get_Stream();
Only one of the following can be a valid value (not a null reference) at any time: Uri, Stream or FileName. The property that contains a valid reference depends on which version of RasterCodecs.GetInformationAsync or RasterCodecs.LoadAsync method has been called.
For example, if RasterCodecs.LoadAsync(Uri uri, object userState) is being called, the Uri will contain the same URI passed to the method while Stream and FileName will both be null. If RasterCodecs.LoadAsync(String fileName, object userState) is being called, the FileName will contain the same file name string value passed to the method while Uri and Stream will both be null and so on.