Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
Reference
Reference for WPSC
 Item Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Item Property

Returns an object from a Parts Collection or Properties Collection.

objPartsOrProperties.Item(index)

Parameters

Parameter Description

objPartsOrProperties

A reference to a Parts Collection or Properties Collection.

index

Either an integer that indicates the ordinal position of the object or a string containing the object name. For properties, the name is the combination of Uniform Resource Name (URN) and property name separated by the pound sign (#) or colon (:). For parts, the name is the WebPartQualifier.

strStorageKey = WPSC.WebPartPage.Parts.Item("WPQ1").StorageKey
strPropertyValue = varPart_WPQ_.Properties.Item("http://schemas.microsoft.com/WebPart/v2#Title").Value
var strStorageKey = WPSC.WebPartPage.Parts.Item("WPQ1").StorageKey;
var strPropertyValue = varPart_WPQ_.Properties.Item("http://schemas.microsoft.com/WebPart/v2#Title").Value ;
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker