SPMobileComponent.Field, propriété (Microsoft.SharePoint.MobileControls)

Gets or sets the field that is rendered when the SPMobileComponent is a field-rendering control.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

Syntaxe

'Déclaration
Public Overridable Property Field As SPField
'Utilisation
Dim instance As SPMobileComponent
Dim value As SPField

value = instance.Field

instance.Field = value
public virtual SPField Field { get; set; }

Valeur de la propriété

An SPField that specifies the field that is rendered when the SPMobileComponent is a field-rendering control.

Notes

When SPMobileComponent is not a field-rendering control, Field is usually null, but there is no guarantee of this. If any parent of the SPMobileComponent-derived object in the control hierarchy has a non-null Field value, Field has the same value.

Voir aussi

Référence

SPMobileComponent, classe
Membres SPMobileComponent
Microsoft.SharePoint.MobileControls, espace de noms