Autodesk Vault ProfessionalVault API

FindLabelsByNames Method

Autodesk.Connectivity.WebServicesDocumentService

Find labels based on a list of names.

Required Permissions

LabelRead

Syntax

public Label[] FindLabelsByNames(
   System.string[] labelNames
)
Public Function FindLabelsByNames( _
   ByVal labelNames() As System.String _
) As Label()

Parameters

NameDescription
labelNamesAn array of label names to search for.

Return Value

An array of label objects corresponding to the search information. Will return an “empty” Label (Id = “-1”) in position of the array if no label is found for a name.

See Also