ServiceDescriptionBaseCollection.SetParent(Object, Object) 方法

定义

设置 ServiceDescriptionBaseCollection 实例的父对象。Sets the parent object of the ServiceDescriptionBaseCollection instance.

protected:
 virtual void SetParent(System::Object ^ value, System::Object ^ parent);
protected virtual void SetParent (object value, object parent);
abstract member SetParent : obj * obj -> unit
override this.SetParent : obj * obj -> unit
Protected Overridable Sub SetParent (value As Object, parent As Object)

参数

value
Object

要为其设置父对象的对象。The object for which to set the parent object.

parent
Object

要设置为父级的对象。The object to set as the parent.

注解

此方法的默认实现旨在由派生类重写,以基于 Web 服务描述语言(WSDL)规范设置适当类的父级。The default implementation of this method is intended to be overridden by a derived class to set a parent of an appropriate class, based upon the Web Services Description Language (WSDL) specification. 默认实现不执行任何操作。The default implementation performs no action. 此受保护方法只能通过此类或派生类访问。This protected method is accessible only through this class or a derived class.

适用于