Compartir a través de


HTMLTaskPaneExternal.XDocument Propiedad

Definición

Obtiene una referencia al XDocument asociado a un panel de tareas personalizado.

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::_XDocument ^ XDocument { Microsoft::Office::Interop::InfoPath::SemiTrust::_XDocument ^ get(); };
public Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument XDocument { get; }
member this.XDocument : Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument
Public ReadOnly Property XDocument As _XDocument

Valor de propiedad

Ejemplos

En el ejemplo siguiente, el HTMLTaskPaneExternal objeto se usa a través de la propiedad externa del objeto de ventana HTML dinámico (DHTML) para establecer una referencia al objeto XDocument que forma parte del modelo de objetos de InfoPath:

var objXDoc;

objXDoc  = window.external.<span class="label">XDocument</span>;
objXDoc.View.SwitchView("View2");

Comentarios

El objeto XDocument devuelto representa el documento XML subyacente del formulario asociado al panel de tareas personalizado.

Importante: Se puede acceder a este miembro sin restricciones.

Se aplica a