TextExpression.SetNamespacesForImplementation 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示对象,以对文本表达式的实施设置命名空间。
重载
| SetNamespacesForImplementation(Object, IList<String>) | 表示对象,以使用指定的目标和命名空间对文本表达式的实施设置命名空间。 | 
| SetNamespacesForImplementation(Object, String[]) | 表示对象,以使用指定的目标和命名空间对文本表达式的实施设置命名空间。 | 
SetNamespacesForImplementation(Object, IList<String>)
表示对象,以使用指定的目标和命名空间对文本表达式的实施设置命名空间。
public:
 static void SetNamespacesForImplementation(System::Object ^ target, System::Collections::Generic::IList<System::String ^> ^ namespaces);public static void SetNamespacesForImplementation (object target, System.Collections.Generic.IList<string> namespaces);static member SetNamespacesForImplementation : obj * System.Collections.Generic.IList<string> -> unitPublic Shared Sub SetNamespacesForImplementation (target As Object, namespaces As IList(Of String))参数
- target
- Object
目标。
适用于
SetNamespacesForImplementation(Object, String[])
表示对象,以使用指定的目标和命名空间对文本表达式的实施设置命名空间。
public:
 static void SetNamespacesForImplementation(System::Object ^ target, ... cli::array <System::String ^> ^ namespaces);public static void SetNamespacesForImplementation (object target, params string[] namespaces);static member SetNamespacesForImplementation : obj * string[] -> unitPublic Shared Sub SetNamespacesForImplementation (target As Object, ParamArray namespaces As String())参数
- target
- Object
目标。
- namespaces
- String[]
命名空间的集合。