Gets Web part by web part file name (MonoX Specific, as UserControls are used as WebParts)

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
protected virtual WebPart GetWebPart(
	string partFullPathWithFileName
)
Visual Basic
Protected Overridable Function GetWebPart ( 
	partFullPathWithFileName As String
) As WebPart
Visual C++
protected:
virtual WebPart^ GetWebPart(
	String^ partFullPathWithFileName
)
F#
abstract GetWebPart : 
        partFullPathWithFileName : string -> WebPart 
override GetWebPart : 
        partFullPathWithFileName : string -> WebPart 

Parameters

partFullPathWithFileName
Type: System..::..String
Usercontrol Path and Filename

Return Value

Type: WebPart
Web part

See Also