'Declaration<ExtensionAttribute()> <JetBrains.Annotations.CanBeNullAttribute()> Public Shared Function LoadFromFile( _ ByVal streamPersistable As IStreamPersistable, _ ByVal fileName As String _ ) As Exception
'UsageDim streamPersistable As IStreamPersistable Dim fileName As String Dim value As Exception value = IStreamPersistableExtension.LoadFromFile(streamPersistable, fileName)
[Extension()] [JetBrains.Annotations.CanBeNull()] public static Exception LoadFromFile( IStreamPersistable streamPersistable, string fileName )
[Extension()] [JetBrains.Annotations.CanBeNull()] public: static Exception^ LoadFromFile( IStreamPersistable^ streamPersistable, String^ fileName )
Parameters
- streamPersistable
- The stream persistable object.
The value of this parameter cannot be
null(Nothingin Visual Basic). - fileName
- The name of the file to load from to.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
null.
This method can return null (Nothing in Visual Basic).