Loads or reloads an answer file. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim answerFile1 As AnswerFile
answerFile1.Load()

Syntax

Visual Basic
Public NotOverridable Sub Load()
C#
public sealed void Load();
C++
public:
virtual void arbitrary-name() sealed = Load;
J#
public final void Load();
JScript
public final function Load() : Void;

Remarks

System.InvalidOperationException is thrown if the answer file has not been saved on disk or the Path property has not been set.

System.Xml.XmlException is thrown if there is a formatting error in the answer file.

System.Xml.Schema.XmlSchemaValidationException is thrown if the answer file schema validation failed.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also