Retrieves the document state of the answer file and checks whether the file is loaded. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim answerFile1 As AnswerFile

Dim returnValue As DocumentState
returnValue = answerFile1.DocumentState

Dim sampleValue As DocumentState
answerFile1.DocumentState = sampleValue

Syntax

Visual Basic
Public Property DocumentState() As DocumentState
C#
public DocumentState DocumentState {get; set;}
C++
public:
property DocumentState^ DocumentState {
		DocumentState^ get();
private:
		void set(DocumentState^ value);
}
J#
public DocumentState get_DocumentState();
public void set_DocumentState(DocumentState);
JScript
public function get DocumentState() : DocumentState;
public function set DocumentState(DocumentState);

Property Value

The document state of the answer file.

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