ICscHostObject.SetPlatform(String) Method

Definition

Specifies the processor platform to be targeted by the output file.

public:
 bool SetPlatform(System::String ^ platform);
public bool SetPlatform (string platform);
abstract member SetPlatform : string -> bool
Public Function SetPlatform (platform As String) As Boolean

Parameters

platform
String

The processor platform to be targeted by the output file. This value can be x86, x64, or anycpu.

Returns

true if the method was successful; otherwise, false.

Applies to