Indicates whether the current property value is the same as the one in the offline image or whether the property value should be written to an answer file if it has not been changed. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)


Visual Basic
Dim iScalarSettingPropertyDescriptor1 As IScalarSettingPropertyDescriptor

Dim returnValue As Boolean
returnValue = iScalarSettingPropertyDescriptor1.WriteImageValue

Dim sampleValue As Boolean
iScalarSettingPropertyDescriptor1.WriteImageValue = sampleValue


Visual Basic
Property WriteImageValue() As Boolean
bool WriteImageValue {get; set;}
property virtual bool WriteImageValue {
		bool get();
		void set(bool value);
public boolean get_WriteImageValue();
public void set_WriteImageValue(boolean);
function get WriteImageValue() : Boolean;
function set WriteImageValue(Boolean);

Property Value

When this value is retrieved, true indicates the property that the PropertyDescriptor describes has override value in answer file, and the override value is the same as the one in offline image. When this value is set, true specifies that if the property that the PropertyDescriptor describes has not been changed, the original value in the offline image will be written to the answer file. A return value of false specifies that in such situation, the answer file entity should be removed. It has no effect if the property that it describes has been changed.

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.


Development Platforms

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

Target Platforms

See Also