Imports a WorkItemType that is defined in the specified XML and adds it to this collection. The specified methodology 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 ( _
    definition As String, _
    methodologyName As String _
)
public void Import(
    string definition,
    string methodologyName
)
public:
void Import(
    String^ definition, 
    String^ methodologyName
)
member Import : 
        definition:string * 
        methodologyName:string -> unit 
public function Import(
    definition : String, 
    methodologyName : String
)
Parameters
- definition
 Type: System.String
 An XML-formatted string 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.