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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈