WebPart.EffectiveTitle Property
SharePoint 2010
Gets the title of specified the Web Part instance, including any disambiguation information added by the Web Part infrastructure.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Property Value
Type: System.StringA string containing the title of the Web Part including any disambiguation information, such as "WebPart [1]" and "WebPart [2]".
If two Web Parts on the same Web Part Page have the same title, the Web Part infrastructure appends a number after the title. For example, if two or more Web Parts that are named MyWebPart are added to a page, the Web Part infrastructure adds an incremented number in the following format: MyWebPart [1], MyWebPart [2], and so on. You can use the EffectiveTitle property to retrieve the title of a Web Part including this incremented number.