SPContentTypeId - Constructeur
Initialise une nouvelle instance du type SPContentTypeId à l'aide d'une chaîne hexadécimale spécifiée.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Sub New ( _
id As String _
)
'Utilisation
Dim id As String
Dim instance As New SPContentTypeId(id)
public SPContentTypeId(
string id
)
Paramètres
id
Type : System.StringUne chaîne de caractères hexadécimaux.
Exceptions
Exception | Condition |
---|---|
ArgumentException | id est null ou non dans le format correct. |
Remarques
Utilisez ce constructeur pour reconstituer un ID de contenu que vous avez précédemment sérialisée à l'aide de la méthode ToString() .
Voir aussi
Référence
Microsoft.SharePoint - Espace de noms