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)
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