Creates build settings for a new operating system platform based on the Configuration Objects of an existing platform.
Public Function AddPlatform( _ ByVal NewName As String, _ ByVal ExistingName As String, _ ByVal Propigate As Boolean _ ) As Configurations
Function AddPlatform( _ ByVal NewName As String, _ ByVal ExistingName As String, _ ByVal Propigate As Boolean _ ) As Configurations
HRESULT __stdcall AddPlatform( BSTR NewName, BSTR ExistingName, VARIANT_BOOL Propigate, /* [out, retval] */ Configurations** retVal );
public Configurations AddPlatform( string NewName, string ExistingName, bool Propigate );
public function AddPlatform( NewName : String, ExistingName : String, Propigate : Boolean ) : Configurations
- Required. The name of the new platform as found in the SupportedPlatforms Property.
- Required. The name of the platform to copy in order to create the new one.
- Required. True if the platform should be propagated, False if not.
Returns a Configurations collection.
AddPlatform returns a collection of new Configuration objects. If the value provided to ExistingName is not in the SupportedPlatforms property, then this method fails. If the value provided to NewName already exists for this project, then this method fails and alerts you that the ExistingName settings were not copied.
Applies To: ConfigurationManager Object