ClientWebPartPropertyCollection.TryGetValue method

TryGetValue

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

Syntax

'Declaration
Public Function TryGetValue ( _
    propertyName As String, _
    <OutAttribute> ByRef property As ClientWebPartProperty _
) As Boolean
'Usage
Dim instance As ClientWebPartPropertyCollection
Dim propertyName As String
Dim property As ClientWebPartProperty
Dim returnValue As Boolean

returnValue = instance.TryGetValue(propertyName, _
    property)
public bool TryGetValue(
    string propertyName,
    out ClientWebPartProperty property
)

Parameters

Return value

Type: System.Boolean
true if property found.

See also

Reference

ClientWebPartPropertyCollection class

ClientWebPartPropertyCollection members

Microsoft.SharePoint.WebPartPages namespace