Compartir a través de


IsAttributedProject

Indicates whether a project is attributed.

function IsAttributedProject( 
   owizard  
);

Parameters

  • owizard
    The wizard object.

Return Value

true if the project is attributed; otherwise, false.

Remarks

Indicates whether a project is attributed.

Example

function CheckAddtoProject(oProj)
{
   try
   {
      if (!IsAttributedProject(wizard))
      {
         if (!ConvertProjectToAttributed(oProj))
            return false;
       }
   }
   catch (e)
   {
      var L_ErrMsg1_Text = "Error in CheckAddtoProject: ";
         wizard.ReportError( L_ErrMsg1_Text + e.description);
         return false;
   }

   return true;
}

See Also

Tasks

Creating a Custom Wizard

Reference

IsATLProject

IsMFCProject

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Other Resources

JScript Functions for C++ Wizards