SPElementDefinition.GetRootAttrAsInt32 - Méthode
Retourne la valeur de l'attribut de racine spécifié sous la forme d'un entier.
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Protected Function GetRootAttrAsInt32 ( _
attrName As String, _
nDefault As Integer _
) As Integer
'Utilisation
Dim attrName As String
Dim nDefault As Integer
Dim returnValue As Integer
returnValue = Me.GetRootAttrAsInt32(attrName, _
nDefault)
protected int GetRootAttrAsInt32(
string attrName,
int nDefault
)
Paramètres
attrName
Type : System.StringChaîne qui spécifie le nom de l'attribut.
nDefault
Type : System.Int32Entier 32 bits qui spécifie une valeur par défaut.
Valeur renvoyée
Type : System.Int32
Entier 32 bits qui indique la valeur de l'attribut de la racine spécifiée.