Imports a WorkItemType that is defined in the specified XML and adds it to this collection. The specified methodology name is used to resolve field conflicts.
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Sub Import ( _
    definitionElement As XmlElement, _
    methodologyName As String _
)
public void Import(
    XmlElement definitionElement,
    string methodologyName
)
public:
void Import(
    XmlElement^ definitionElement, 
    String^ methodologyName
)
member Import : 
        definitionElement:XmlElement * 
        methodologyName:string -> unit 
public function Import(
    definitionElement : XmlElement, 
    methodologyName : String
)
Parameters
- definitionElement
 Type: System.Xml.XmlElement
 An XML object that defines a WorkItemType.
- methodologyName
 Type: System.String
 The name of the development process.
.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.