Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.MapToControl method

Returns the name of the control that can edit the specified file, including the website that contains the file and the ID of the program that created the file.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static string MapToControl(
	SPWeb web,
	string strFileName,
	string strProgID
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the website containing the file.
strFileName
Type: System.String
The name of the file name.
strProgID
Type: System.String
A string that contains the program ID (ProgID) of the application that was used to create the file.

Return value

Type: System.String
Returns the name of the control.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.