View.Formats - Propriété
Gets or sets a value that specifies the column and row formatting for the list view.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property Formats As String
Get
Set
'Utilisation
Dim instance As View
Dim value As String
value = instance.Formats
instance.Formats = value
public string Formats { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the column and row formatting for the list view.
Remarques
It must be une référence Null (Rien dans Visual Basic) or an XML fragment that conforms to ViewFormatDefinitions.
The ListTemplateDefinition type specifies a template definition that is used to create new lists of a particular type.
Schema
<xs:complexType name="ListTemplateDefinition">
<xs:attribute name="AllowDeletion" type="TRUEFALSE" default="TRUE" />
<xs:attribute name="AllowEveryoneViewItems" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="AlwaysIncludeContent" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="BaseType" type="ListTemplateBaseType" use="required" />
<xs:attribute name="CacheSchema" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="Catalog" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="Category" type="ListTemplateCategoryType" />
<xs:attribute name="Description" type="xs:string" />
<xs:attribute name="DisableAttachments" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="DisallowContentTypes" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="DisplayName" type="xs:string" />
<xs:attribute name="DocumentTemplate" type="xs:int" /> <xs:attribute name="DontSaveInTemplate" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="DraftVersionVisibility" type="xs:int" default="0" />
<xs:attribute name="EditPage" type="xs:string" />
<xs:attribute name="EmailAssignTo" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="EnableContentTypes" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="EnableMinorVersions" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="EnableThumbnails" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="FeatureId" type="UniqueIdentifierWithOrWithoutBracesWithOrWithoutDashes" />
<xs:attribute name="FolderCreation" type="TRUEFALSE" default="TRUE" />
<xs:attribute name="ForceCheckout" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="Hidden" type="TRUEFALSE" default="FALSE"/>
<xs:attribute name="HiddenList" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="Image" type="RelativeUrl" />
<xs:attribute name="MajorVersionLimit" type="IntNonNegative" use="optional" />
<xs:attribute name="MajorWithMinorVersionsLimit" type="IntNonNegative" use="optional" />
<xs:attribute name="ModeratedList" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="MultipleMtgDataList" type="TRUEFALSE" default="TRUE" />
<xs:attribute name="MustSaveRootFiles" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="Name" type="xs:string" />
<xs:attribute name="NewPage" type="xs:string" />
<xs:attribute name="NoCrawl" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="OnQuickLaunch" type="TRUEFALSE" />
<xs:attribute name="OrderedList" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="Path" type="xs:string " />
<xs:attribute name="PrivateList" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="PublicList" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="RootWebOnly" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="SecurityBits" type="xs:string" />
<xs:attribute name="SetupPath" type="RelativeFilePath" />
<xs:attribute name="Sequence" type="xs:int" />
<xs:attribute name="SyncType" type="xs:string" />
<xs:attribute name="ThumbnailSize" type="IntNonNegative" default="0" />
<xs:attribute name="Type" type="xs:int" use="required"/>
<xs:attribute name="Unique" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="UseRootFolderForNavigation" type="TRUEFALSE" />
<xs:attribute name="VersioningEnabled" type="TRUEFALSE" default="FALSE" />
<xs:attribute name="WebImageHeight" type="IntNonNegative" default="0" />
<xs:attribute name="WebImageWidth" type="IntNonNegative" default="0" />
</xs:complexType>