GetProperty method
Collapse the table of content
Expand the table of content

SPWeb.GetProperty method

Gets the value of a property with the specified key from the list of metadata for the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public Function GetProperty ( _
	key As Object _
) As Object
Dim instance As SPWeb
Dim key As Object
Dim returnValue As Object

returnValue = instance.GetProperty(key)


Type: System.Object

The property key to retrieve.

Return value

Type: System.Object
The value of the property.

This method retrieves the value of the specified property from the AllProperties property that is a key/value pair.

© 2016 Microsoft