Share via


SPInvalidPropertyException.PropertyName Property

Gets the name of the property for which the exception is thrown.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property PropertyName As String
    Get
'Usage
Dim instance As SPInvalidPropertyException
Dim value As String

value = instance.PropertyName
public string PropertyName { get; }

Property Value

Type: System.String
A string that contains the name of the property.

See Also

Reference

SPInvalidPropertyException Class

SPInvalidPropertyException Members

Microsoft.SharePoint Namespace