Share via


PortalWebSiteMapNode.GetProperty method

Retrieves a value from the Web site property bag by using a specified object key.

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

Syntax

'Declaration
Public Function GetProperty ( _
    key As Object _
) As Object
'Usage
Dim instance As PortalWebSiteMapNode
Dim key As Object
Dim returnValue As Object

returnValue = instance.GetProperty(key)
public Object GetProperty(
    Object key
)

Parameters

  • key
    Type: System.Object

    The key to use to access the property bag.

Return value

Type: System.Object
The value that corresponds to the specified key. Returns a null reference (Nothing in Visual Basic) if the key was not found.

See also

Reference

PortalWebSiteMapNode class

PortalWebSiteMapNode members

Microsoft.SharePoint.Publishing.Navigation namespace

AllProperties

PortalWebSiteMapNode