LegacyTfsModelExtensions.ToWebApiChangeList Method (Shelveset, IEnumerable<TfsChange>, Boolean)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi.Legacy
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ToWebApiChangeList ( _
shelveset As Shelveset, _
changes As IEnumerable(Of TfsChange), _
allChangesIncluded As Boolean _
) As TfsChangeList
public static TfsChangeList ToWebApiChangeList(
this Shelveset shelveset,
IEnumerable<TfsChange> changes,
bool allChangesIncluded
)
[ExtensionAttribute]
public:
static TfsChangeList^ ToWebApiChangeList(
Shelveset^ shelveset,
IEnumerable<TfsChange^>^ changes,
bool allChangesIncluded
)
static member ToWebApiChangeList :
shelveset:Shelveset *
changes:IEnumerable<TfsChange> *
allChangesIncluded:bool -> TfsChangeList
public static function ToWebApiChangeList(
shelveset : Shelveset,
changes : IEnumerable<TfsChange>,
allChangesIncluded : boolean
) : TfsChangeList
Parameters
- shelveset
Type: Microsoft.TeamFoundation.VersionControl.Server.Shelveset
- changes
Type: System.Collections.Generic.IEnumerable<TfsChange>
- allChangesIncluded
Type: System.Boolean
Return Value
Type: TfsChangeList
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Shelveset. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.
See Also
Reference
LegacyTfsModelExtensions Class
Microsoft.TeamFoundation.SourceControl.WebApi.Legacy Namespace