TextExpression.SetNamespaces Method

Definition

Sets the namespace for the Text expression.

Overloads

SetNamespaces(Object, String[])

Sets the namespace for the Text expression with specified target and namespaces.

SetNamespaces(Object, IList<String>)

Sets the namespace for the Text expression with specified target and namespaces.

SetNamespaces(Object, String[])

Sets the namespace for the Text expression with specified target and namespaces.

public static void SetNamespaces (object target, params string[] namespaces);

Parameters

target
Object

The target.

namespaces
String[]

The array of namespaces.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SetNamespaces(Object, IList<String>)

Sets the namespace for the Text expression with specified target and namespaces.

public static void SetNamespaces (object target, System.Collections.Generic.IList<string> namespaces);

Parameters

target
Object

The target.

namespaces
IList<String>

The generic list of the namespaces.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1