Retrieves or sets the state of the answer file. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim answerFile1 As AnswerFile

Dim returnValue As Boolean
returnValue = answerFile1.Dirty

Dim sampleValue As Boolean
answerFile1.Dirty = sampleValue

Syntax

Visual Basic
Public Property Dirty() As Boolean
C#
public bool Dirty {get; set;}
C++
public:
property bool Dirty {
		bool get();
		void set(bool value);
}
J#
public boolean get_Dirty();
public void set_Dirty(boolean);
JScript
public function get Dirty() : Boolean;
public function set Dirty(Boolean);

Property Value

True if the file has changed since last save, false otherwise.

Remarks

Each save or reload operation resets this property.


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