다음을 통해 공유


SPContentTypeUsage.Id Property

Gets the identifier (ID) of the derived content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Id As SPContentTypeId
    Get
'Usage
Dim instance As SPContentTypeUsage
Dim value As SPContentTypeId

value = instance.Id
public SPContentTypeId Id { get; }

Property Value

Type: Microsoft.SharePoint.SPContentTypeId
A content type ID.

Remarks

You can use the value of this property as an index into an SPContentTypeCollection collection at either the site or list level. See the example for the Url property.

See Also

Reference

SPContentTypeUsage Class

SPContentTypeUsage Members

Microsoft.SharePoint Namespace

SPContentTypeId

SPBuiltInContentTypeId

Other Resources

Content Type IDs

Site and List Content Types