Partilhar 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)
Available in Sandboxed Solutions: No

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