Retrieves the type of an item in a SharePoint library, if the item exists.
命名空间: ReportService2006
程序集: ReportService2006(在 ReportService2006.dll 中)
语法
声明
Public Function GetItemType ( _
Item As String _
) As ItemTypeEnum
用法
Dim instance As ReportingService2006
Dim Item As String
Dim returnValue As ItemTypeEnum
returnValue = instance.GetItemType(Item)
public ItemTypeEnum GetItemType(
string Item
)
public:
ItemTypeEnum GetItemType(
String^ Item
)
member GetItemType :
Item:string -> ItemTypeEnum
public function GetItemType(
Item : String
) : ItemTypeEnum
参数
- Item
类型:System.String
The fully qualified URL of the item including the file name and extension.
返回值
类型:ReportService2006.ItemTypeEnum
A ItemTypeEnum value.
注释
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
Use the GetItemType method to determine the type of an item in a SharePoint library.