แก้ไข

แชร์ผ่าน


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(System::Object ^ target, ... cli::array <System::String ^> ^ namespaces);
public static void SetNamespaces (object target, params string[] namespaces);
static member SetNamespaces : obj * string[] -> unit
Public Shared Sub SetNamespaces (target As Object, ParamArray namespaces As String())

Parameters

target
Object

The target.

namespaces
String[]

The array of namespaces.

Applies to

SetNamespaces(Object, IList<String>)

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

public:
 static void SetNamespaces(System::Object ^ target, System::Collections::Generic::IList<System::String ^> ^ namespaces);
public static void SetNamespaces (object target, System.Collections.Generic.IList<string> namespaces);
static member SetNamespaces : obj * System.Collections.Generic.IList<string> -> unit
Public Shared Sub SetNamespaces (target As Object, namespaces As IList(Of String))

Parameters

target
Object

The target.

namespaces
IList<String>

The generic list of the namespaces.

Applies to