SPFormContext.FormMode-Eigenschaft
Ruft den Modus Steuerelement des Formulars fest.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property FormMode As SPControlMode
Get
Set
'Usage
Dim instance As SPFormContext
Dim value As SPControlMode
value = instance.FormMode
instance.FormMode = value
public SPControlMode FormMode { get; set; }
Eigenschaftswert
Typ: Microsoft.SharePoint.WebControls.SPControlMode
Ein Microsoft.SharePoint.WebControls.SPControlMode -Wert, der den Modus des Steuerelements angibt. Mögliche Werte sind Display, Edit, Invalidund New.