Value Property
Applies to: SharePoint Foundation 2010
A Variant value that expresses the value of the Property Object.
objProperty.Value
Parameters
Parameter |
Description |
---|---|
objProperty |
A reference to a Property Object. |
Remarks
You can use the Value property to set the Web Part schema properties.
Example 1: Microsoft Visual Basic Scripting Edition
Code
varPart_WPQ_.Properties.Item("urn:myCompany:Custinfo#CustName").Value = "Joe"
Example 2: Microsoft JScript
Code
varPart_WPQ_.Properties.Item("urn:myCompany:Custinfo#CustName").Value = "Joe";
Requirements
Applies to: Property Object