Share via


WebPartDefinitionCollection.GetByControlId method

Namespace:  Microsoft.SharePoint.Client.WebParts
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetByControlId ( _
    controlId As String _
) As WebPartDefinition
'Usage
Dim instance As WebPartDefinitionCollection
Dim controlId As String
Dim returnValue As WebPartDefinition

returnValue = instance.GetByControlId(controlId)
public WebPartDefinition GetByControlId(
    string controlId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.WebParts.WebPartDefinition

See also

Reference

WebPartDefinitionCollection class

WebPartDefinitionCollection members

Microsoft.SharePoint.Client.WebParts namespace