共用方式為


SPListItem.ProgId Property

The Program identifier for this item.

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

Syntax

'Declaration
Public Property ProgId As String
    Get
    Set
'Usage
Dim instance As SPListItem
Dim value As String

value = instance.ProgId

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

Property Value

Type: System.String
A String representation of the Program identifier.

Remarks

Used to determine which program to use when the item is opened.

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace