共用方式為


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.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property IsWebPartPackage As Boolean
    Get
'Usage
Dim instance As SPSolution
Dim value As Boolean

value = instance.IsWebPartPackage
public bool IsWebPartPackage { get; }

Property Value

Type: System.Boolean
true if the solution represents a web part package; otherwise, false.

Remarks

Note

Do not use. The concept of a "Web Part package" is obsolete.

See Also

Reference

SPSolution Class

SPSolution Members

Microsoft.SharePoint.Administration Namespace