SPHttpUtility.AddQuote - Méthode (String, Char)
Insère la chaîne spécifiée entre guillemets à l'aide du caractère spécifié.
Espace de noms : Microsoft.SharePoint.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function AddQuote ( _
value As String, _
quoteCharacter As Char _
) As String
'Utilisation
Dim value As String
Dim quoteCharacter As Char
Dim returnValue As String
returnValue = SPHttpUtility.AddQuote(value, _
quoteCharacter)
public static string AddQuote(
string value,
char quoteCharacter
)
Paramètres
value
Type : System.StringChaîne à placer entre guillemets.
quoteCharacter
Type : System.CharDe 16 bits Char représentant le caractère guillemet à utiliser.
Valeur renvoyée
Type : System.String
La chaîne entourée les guillemets spécifié.