共用方式為


SPForm.ID Property

Gets the GUID that identifies the form.

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

Syntax

'Declaration
<ClientCallableAttribute(Name := "Id")> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotEmpty)> _
Public ReadOnly Property ID As Guid
    Get
'Usage
Dim instance As SPForm
Dim value As Guid

value = instance.ID
[ClientCallableAttribute(Name = "Id")]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
public Guid ID { get; }

Property Value

Type: System.Guid
A GUID that identifies the form.

See Also

Reference

SPForm Class

SPForm Members

Microsoft.SharePoint Namespace