Compartilhar via


SchemaElement Property

A string identifier containing the name of a property associated with a Web Part.

objProperty.SchemaElement

objProperty  A reference to a Property object.

Remarks

Together with the NamespaceURN property, this property is used to identify a Property object. Specifcally, it is the name of a Web Part or Web Part Page schema element or the name of a custom property that you define. When you use the Item property to get or set a member in the Properties collection, it is the value that comes after the hash character (#). For example, in the following statement, the value of the SchemaElement property would be CustomerName:

strName = objPart_WPQ_.Properties.Item("urn:myCompany:CustInfo#CustomerName").SchemaElement

Example

Microsoft Visual Basic Scripting Edition:

strSchemaElement = varPart_WPQ_.Properties.Item(0).SchemaElement

Microsoft JScript:

var strSchemaElement = varPart_WPQ_.Properties.Item(0).SchemaElement;

Requirements

Platforms: Microsoft Windows Server 2003

Item Property | NamespaceURN Property | Properties CollectionApplies to: Property Object