次の方法で共有


SPElementDefinition.GetRootAttrIsTrue 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 GetRootAttrIsTrue ( _
    attrName As String _
) As Boolean
'Usage
Dim attrName As String
Dim returnValue As Boolean

returnValue = Me.GetRootAttrIsTrue(attrName)
protected bool GetRootAttrIsTrue(
    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 true, and returns false if the attribute value equals false. If an attribute is not specified, returns false.

See also

Reference

SPElementDefinition class

SPElementDefinition members

Microsoft.SharePoint.Administration namespace