TextExpression.SetNamespaces Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.