共用方式為


SP.Field.typeAsString Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the type of the field.

var value = SP.Field.get_typeAsString(); 
SP.Field.set_typeAsString(value);

Property Value

Type: String

Applies To

SP.Field Class

Exceptions

  • SPException
    The server does not allow properties of the field to be changed. Error code: -2146232832.

Remarks

It must not be null. It must not be empty.

See Also

Reference

SP.Field Methods

SP.Field Properties

SP Namespace