共用方式為


SPContentType.Group Property

Gets and sets the content type group to which the content type is assigned.

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

Syntax

Public Property Group As String
    Get
    Set

Dim instance As SPContentType
Dim value As String

value = instance.Group

instance.Group = value
public string Group { get; set; }

Property Value

Type: System.String
A String containing the name of a group.

Remarks

Content type groups are user-defined groups that help you organize your columns into logical categories.

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

SPContentType Object Overview