HTMLTaskPane.TaskPaneType Property
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.
Gets a value indicating the type of task pane represented by the HTMLTaskPaneObject object, which is always a custom task pane.
public:
property Microsoft::Office::Interop::InfoPath::XdTaskPaneType TaskPaneType { Microsoft::Office::Interop::InfoPath::XdTaskPaneType get(); };
public Microsoft.Office.Interop.InfoPath.XdTaskPaneType TaskPaneType { get; }
member this.TaskPaneType : Microsoft.Office.Interop.InfoPath.XdTaskPaneType
Public ReadOnly Property TaskPaneType As XdTaskPaneType
Property Value
Implements
Examples
In the following example, the TaskPanes collection is used to get a reference to the HTMLTaskPane object that represents the custom task pane.
TaskPane objTaskPane = thisXDocument.View.Window.TaskPanes[0];
XdTaskPaneType ttype= objTaskPane.<span class="label">TaskPaneType</span>;
Remarks
The TaskPaneType property of the HTMLTaskPane object is one of the properties inherited from the TaskPaneObject object when the type of the task pane is 0, which means that it is the custom task pane.
Note: The TaskPaneType property is based on the XdTaskPaneType enumeration. These enumerated values are also used as arguments to the Item[Object] property of the TaskPanesCollection collection for returning a reference to a specified type of task pane.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기