共用方式為


SPSolutionValidationProperties.Valid property

取得或設定 Boolean 值,指出解決方案的有效性。

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property Valid As Boolean
    Get
    Set
'用途
Dim instance As SPSolutionValidationProperties
Dim value As Boolean

value = instance.Valid

instance.Valid = value
public bool Valid { get; set; }

Property value

Type: System.Boolean
true解決方案時才有效 ; 如果否則,請false。

請參閱

參照

SPSolutionValidationProperties class

SPSolutionValidationProperties members

Microsoft.SharePoint.UserCode namespace