Saves the answer file with a specified file name. Includes option to hide sensitive data. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim path As String
Dim sensitiveDataOption As SensitiveDataOption
Dim answerFile1 As AnswerFile
answerFile1.SaveAs(path, sensitiveDataOption)

Syntax

Visual Basic
Overloads Public Sub SaveAs( _
		ByVal path As String, _
		ByVal sensitiveDataOption As SensitiveDataOption _
)
C#
public void SaveAs(
		string path, 
		SensitiveDataOption sensitiveDataOption
);
C++
public:
void SaveAs(
		String^ path,
		SensitiveDataOption sensitiveDataOption
);
J#
public void SaveAs(
		System.String path, 
		SensitiveDataOption sensitiveDataOption
);
JScript
public function SaveAs(
		 path : String, 
		 sensitiveDataOption : SensitiveDataOption
) : Void;

Parameters

path

Path of the specified file

sensitiveDataOption

Specifies whether or not to hide sensitive data in 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