XFileManager.FromStream Method |
Language: |
Creates an XFile object from a data stream.
public XFile FromStream(Stream); public XFile FromStream(Stream, int);
After using this method, use one of the XFile methods to retrieve a data object.
Exception GraphicsException.ErrorCode Cause GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid. XFileErrorCodes.ParseError Data stream could not be parsed. ArgumentOutOfRangeException N/A Length must be greater than zero. NotSupportedException N/A The stream must support reading.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.