Share via


IsAttributedProject

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IsAttributedProject.

Indicates whether a project is attributed.

Syntax

  
      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

Customizing C++ Wizards with Common JScript Functions
JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard
IsATLProject
IsMFCProject