OpenXmlElement.LookupPrefix(String) Méthode

Définition

Recherche le préfixe correspondant pour un URI d’espace de noms dans l’étendue de l’élément actuel.

public string LookupPrefix (string namespaceUri);
public string? LookupPrefix (string namespaceUri);
member this.LookupPrefix : string -> string
Public Function LookupPrefix (namespaceUri As String) As String

Paramètres

namespaceUri
String

URI de l’espace de noms.

Retours

Préfixe correspondant. Retourne null (Nothing en Visual Basic) si aucun préfixe n’est trouvé.

S’applique à