Remarks
Sets the name of the given program.
For further details about managing a VST effect refer to the How to manage VST effects section.
For further details about methods related to the use of special effects refer to the EffectsMan class.
Syntax
[Visual Basic]
Public Function VstProgramNameSet (
nIdVST as Int32,
nProgramIndex as Int16,
strName as string
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes VstProgramNameSet (
Int32 nIdVST,
Int16 nProgramIndex,
string strName
);
|
|
[C++]
public: enumErrorCodes VstProgramNameSet (
Int32 nIdVST,
Int16 nProgramIndex,
string strName
);
|
|
Parameter
|
Description
|
|
|
nIdVST
|
Unique identifier of the VST effect as returned by the Effects.VstLoad method.
|
nProgramIndex
|
Zero-based index of the program
|
strName
|
New program name
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|