共用方式為


SPFolder.Name Property

Gets the name of the folder.

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

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
<ClientCallableAttribute> _
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPFolder
Dim value As String

value = instance.Name
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
[ClientCallableAttribute]
public string Name { get; }

Property Value

Type: System.String
A string that contains the name.

See Also

Reference

SPFolder Class

SPFolder Members

Microsoft.SharePoint Namespace