Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the value of the specified root attribute as an integer.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Function GetRootAttrAsInt32 ( _
attrName As String, _
nDefault As Integer _
) As Integer
'Usage
Dim attrName As String
Dim nDefault As Integer
Dim returnValue As Integer
returnValue = Me.GetRootAttrAsInt32(attrName, _
nDefault)
protected int GetRootAttrAsInt32(
string attrName,
int nDefault
)
Parameters
attrName
Type: System.StringA string that specifies the name of the attibute.
nDefault
Type: System.Int32A 32-bit integer that specifies a default value.
Return Value
Type: System.Int32
A 32-bit integer that indicates the value of the specified root attribute.