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)

Usage

Visual Basic
Dim iScalarSettingPropertyDescriptor1 As IScalarSettingPropertyDescriptor

Dim returnValue As Boolean
returnValue = iScalarSettingPropertyDescriptor1.WriteEmptyString

Dim sampleValue As Boolean
iScalarSettingPropertyDescriptor1.WriteEmptyString = sampleValue

Syntax

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

Property Value

True if an override was created, false if removed.

Remarks

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.

Platforms

Development Platforms

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

Target Platforms

See Also

[an error occurred while processing this directive]