Dynamicweb 8 Documentation
GetTagByName Method

The name of the tag.
Gets the tag object by tag name.
Syntax
'Declaration
 
Public Function GetTagByName( _ 
   ByVal name As String _ 
) As Tag
public Tag GetTagByName( 
   string name 
)

Parameters

name
The name of the tag.

Return Value

A Tag instance if the collection contains a tag with the specified name, otherwise null (Nothing in Visual Basic)
Example
See usage example in TagCollection
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TagCollection Class
TagCollection Members

Send Feedback