SPSolution.IsWebPartPackage Property
Gets a value indicating whether the solution represents a Web Part package. Do not use. The concept of a "Web Part package" is obsolete.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Property Value
Type: System.Booleantrue if the solution represents a web part package; otherwise, false.
Note