| ExtensionMethodsGetIds Method |
Returns an array of project file IDs from an IEnumerable of ProjectFiles
Namespace: Sdl.ProjectAutomation.CoreAssembly: Sdl.ProjectAutomation.Core (in Sdl.ProjectAutomation.Core.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic static Guid[] GetIds(
this IEnumerable<ProjectFile> projectFiles
)
<ExtensionAttribute>
Public Shared Function GetIds (
projectFiles As IEnumerable(Of ProjectFile)
) As Guid()
public:
[ExtensionAttribute]
static array<Guid>^ GetIds(
IEnumerable<ProjectFile^>^ projectFiles
)
[<ExtensionAttribute>]
static member GetIds :
projectFiles : IEnumerable<ProjectFile> -> Guid[]
Parameters
- projectFiles
- Type: System.Collections.GenericIEnumerableProjectFile
The project files for which to get the IDs.
Return Value
Type:
GuidAn IEnumerable of
Guid objects holding the IDs of the project files.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableProjectFile. 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).
See Also
Comments