WorkItemType.Export Method
Exports the work item type definition to XML.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Function Export ( _
includeGlobalListsFlag As Boolean _
) As XmlDocument
public XmlDocument Export(
bool includeGlobalListsFlag
)
public:
XmlDocument^ Export(
bool includeGlobalListsFlag
)
member Export :
includeGlobalListsFlag:bool -> XmlDocument
public function Export(
includeGlobalListsFlag : boolean
) : XmlDocument
Parameters
- includeGlobalListsFlag
Type: System.Boolean
True to include global lists; otherwise, false.
Return Value
Type: System.Xml.XmlDocument
The XML document definition of the work item type.
Remarks
The XML definition of the work item type contains the definitions of the fields in a work item of this type, and the properties and constraints of the fields (e.g., pattern matching or computed data). This document must be parsed in order to determine the types of rules that exist on a specific field.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.