次の方法で共有


SPContentType.RequireClientRenderingOnNew property

Indicates whether the client is responsible for rendering a new document when it is created.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property RequireClientRenderingOnNew As Boolean
    Get
    Set
'Usage
Dim instance As SPContentType
Dim value As Boolean

value = instance.RequireClientRenderingOnNew

instance.RequireClientRenderingOnNew = value
public bool RequireClientRenderingOnNew { get; set; }

Property value

Type: System.Boolean
true if new documents are rendered on the client, otherwise; false. The default is true.

Remarks

By default, the control specified in the NewDocumentControl property is used to render a new document on the client. If you want the new document to render on the server, set the value of this property to false.

See also

Reference

SPContentType class

SPContentType members

Microsoft.SharePoint namespace

Other resources

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy