Share via


SPExternalApplicationProvider.OnApplicationWebPartCreateChildControls method

When implemented in a derived class, calls logic that should run when the CreateChildControl method of a Web Part that hosts an external application runs.

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

Syntax

'Declaration
Public MustOverride Function OnApplicationWebPartCreateChildControls ( _
    requestProperties As SPExternalApplicationRequestProperties _
) As SPExternalApplicationRequestResult
'Usage
Dim instance As SPExternalApplicationProvider
Dim requestProperties As SPExternalApplicationRequestProperties
Dim returnValue As SPExternalApplicationRequestResult

returnValue = instance.OnApplicationWebPartCreateChildControls(requestProperties)
public abstract SPExternalApplicationRequestResult OnApplicationWebPartCreateChildControls(
    SPExternalApplicationRequestProperties requestProperties
)

Parameters

Return value

Type: Microsoft.SharePoint.SPExternalApplicationRequestResult
An object that contains a method that will produce the only child control of the Web Part; a Literal that contains an object tag for the external application and, optionally, also contains the client hash.

Remarks

For more information about the role of this method, see How to: Create a Custom External Application Provider.

See also

Reference

SPExternalApplicationProvider class

SPExternalApplicationProvider members

Microsoft.SharePoint.Administration namespace