Share via


WebPartQualifier Property

Applies to: SharePoint Foundation 2010

A token value that is transformed at run time to a value that uniquely names a Web Part within a Web Part Page.

objPart.WebPartQualifier

Parameters

Parameter

Description

objPart

A reference to a Part Object.

Remarks

This property prevents name conflicts among HTML elements or script function names. The Web Part infrastructure automatically generates the value for this property. It returns a string of the form "WPQx", where x is an integer.

Example 1: Microsoft Visual Basic Scripting Edition

Code

strWPQ = varPart_WPQ_.WebPartQualifier

Example 2: Microsoft JScript

Code

var strWPQ = varPart_WPQ_.WebPartQualifier;

Requirements

Applies to: Part Object

See Also

Reference

StorageKey Property (WPSC)

Other Resources

Web Part Page Services Component (WPSC) Object Model

Web Part Page Services Component (WPSC) Object Model