Autodesk Vault ProfessionalVault API

FindLabelByName Method

Autodesk.Connectivity.WebServicesDocumentService

Find a label based on its name.

Required Permissions

LabelRead

Syntax

public Label FindLabelByName(
   System.string labelName
)
Public Function FindLabelByName( _
   ByVal labelName As System.String _
) As Label

Parameters

NameDescription
labelNameThe name of the label to search for.

Return Value

A label object corresponding to the search information. Will return an “empty” Label (Id = “-1”) if no label is found.

See Also