Compartilhar via


SPField.InternalName Property

Gets the internal name that is used for the field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotEmpty)> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
<ClientCallableAttribute> _
Public ReadOnly Property InternalName As String
    Get
'Usage
Dim instance As SPField
Dim value As String

value = instance.InternalName
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableAttribute]
public string InternalName { get; }

Property Value

Type: System.String
A string that contains the internal name.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace

GetFieldByInternalName(String)