Delen via


ICatalogService.QueryResourceTypes Method

Returns the resource types for all of the specified identifiers. If null or an empty list is passed in, all resource types will be returned.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Function QueryResourceTypes ( _
    resourceTypeIdentifiers As IEnumerable(Of Guid) _
) As ReadOnlyCollection(Of CatalogResourceType)
ReadOnlyCollection<CatalogResourceType> QueryResourceTypes(
    IEnumerable<Guid> resourceTypeIdentifiers
)
ReadOnlyCollection<CatalogResourceType^>^ QueryResourceTypes(
    IEnumerable<Guid>^ resourceTypeIdentifiers
)
abstract QueryResourceTypes : 
        resourceTypeIdentifiers:IEnumerable<Guid> -> ReadOnlyCollection<CatalogResourceType> 
function QueryResourceTypes(
    resourceTypeIdentifiers : IEnumerable<Guid>
) : ReadOnlyCollection<CatalogResourceType>

Parameters

  • resourceTypeIdentifiers
    Type: System.Collections.Generic.IEnumerable<Guid>

    Identifiers for the resource types that should be returned. If this has a value of null or empty, all resource types will be returned.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<CatalogResourceType>
Resource types for the requested identifiers.

.NET Framework Security

See Also

Reference

ICatalogService Interface

Microsoft.TeamFoundation.Framework.Client Namespace