MtgUtility.GetLeafName Method

Gets the name of the specified SPListItem.

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

Syntax

'Declaration
Public Shared Function GetLeafName ( _
    item As SPListItem _
) As String
'Usage
Dim item As SPListItem
Dim returnValue As String

returnValue = MtgUtility.GetLeafName(item)
public static string GetLeafName(
    SPListItem item
)

Parameters

Return Value

Type: System.String
The name of the file represented by the SPListItem.

Remarks

The name of the item is used when initializing SharePoint Foundation Web sites and page tabs, as well as when rendering the list of items on a page in table format. It is also used in uploading files to the site or validating files within the site.

See Also

Reference

MtgUtility Class

MtgUtility Members

Microsoft.SharePoint.Meetings Namespace

FileDirRef

FileLeafRef

SPListItem