ReportingService2006.GetItemType(String) Method

Definition

Retrieves the type of an item in a SharePoint library, if the item exists.

public:
 ReportService2006::ItemTypeEnum GetItemType(System::String ^ Item);
public ReportService2006.ItemTypeEnum GetItemType (string Item);
member this.GetItemType : string -> ReportService2006.ItemTypeEnum
Public Function GetItemType (Item As String) As ItemTypeEnum

Parameters

Item
String

The fully qualified URL of the item including the file name and extension.

Returns

A ItemTypeEnum value.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Use the GetItemType method to determine the type of an item in a SharePoint library.

Applies to