TextExpression.SetNamespaces Method
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.
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. |
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
.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 |
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.
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 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: