Table of Contents

Method GetAttribValue

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

GetAttribValue(string, object)

Returns the value of the first attribute matching the tag parameter. The check is no case sensitive.

public string GetAttribValue(string tag, object blockSymbol)

Parameters

tag string

The tag of the attribute from which to get the value.

blockSymbol object

The block reference object (with type vdConst.vdInsert_code) in which the attributes will be searched for.

Returns

string

The value string set by the tag parameter or null if the passed blocksymbol is not a vdInsert or does not contains attribute with passed tag string.