Partager via


Formats Property

The Formats property of the SPView class gets or sets definitions for column and row formatting used in a datasheet view.

Property Value

A string in Collaborative Application Markup Language (CAML) that contains the descriptions of column and row formatting.

Remarks

The Formats property corresponds with the CAML Formats element and contains a string like the following:

<FormatDef Type="RowHeight" Value="67" />
<Format Name="Attachments">
   <FormatDef Type="ColWidth" Value="75" />
</Format>
<Format Name="LinkTitle">
   <FormatDef Type="WrapText" Value="1" />
   <FormatDef Type="ColWidth" Value="236" />
</Format>

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security