Indicates whether the current property value is empty or whether empty property value should be written to answer file. 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.WriteEmptyString

Dim sampleValue As Boolean
iScalarSettingPropertyDescriptor1.WriteEmptyString = sampleValue


Visual Basic
Property WriteEmptyString() As Boolean
bool WriteEmptyString {get; set;}
property virtual bool WriteEmptyString {
		bool get();
		void set(bool value);
public boolean get_WriteEmptyString();
public void set_WriteEmptyString(boolean);
function get WriteEmptyString() : Boolean;
function set WriteEmptyString(Boolean);

Property Value

True if an override was created, false if removed.


When this value is retrieved, true indicates the property that the PropertyDescriptor describes has override value in an answer file, and the override value is an empty string.

When this value is set, true specifies that if the property described by PropertyDescriptor has an empty value, an empty string will be written to the answer file. A return value of false specifies that in this situation, the answer file entity should be removed. It has no effect if the property that it describes has a non-empty value.

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