Share via


SPElementDefinition.GetRootAttrIsFalse method

Returns the value of the specified root attribute as a Boolean value.

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

Syntax

'Declaration
Protected Function GetRootAttrIsFalse ( _
    attrName As String _
) As Boolean
'Usage
Dim attrName As String
Dim returnValue As Boolean

returnValue = Me.GetRootAttrIsFalse(attrName)
protected bool GetRootAttrIsFalse(
    string attrName
)

Parameters

  • attrName
    Type: System.String

    A string that specifies the name of the attribute.

Return value

Type: System.Boolean
If an attribute is specified, returns true if the attribute value equals false, and returns false if the attribute value equals true. If an attribute is not specified, returns false.

See also

Reference

SPElementDefinition class

SPElementDefinition members

Microsoft.SharePoint.Administration namespace