Style.AddParsedSubObject(Object) 方法

定义

DeviceSpecific 属性设置为指定的对象。Sets the DeviceSpecific property to the specified object. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void AddParsedSubObject(System::Object ^ o);
protected void AddParsedSubObject (object o);
member this.AddParsedSubObject : obj -> unit
Protected Sub AddParsedSubObject (o As Object)

参数

o
Object

要设置为 DeviceSpecific 的值的对象。The object to be set as the value of DeviceSpecific.

实现

异常

DeviceSpecific 属性不为 nullThe DeviceSpecific property is not null.

注解

AddParsedSubObject 方法不支持多个 DeviceSpecific 对象,如果调用 nullDeviceSpecific 属性不 AddParsedSubObject,则会引发 ExceptionThe AddParsedSubObject method does not support multiple DeviceSpecific objects and will throw an Exception if the DeviceSpecific property is not null when AddParsedSubObject is called.

适用于

另请参阅