getStyleElementByFile

This function returns the element that has a <link> tag that has fileNamePattern specified as the target. If more than one element is found, only the first object is returned.

Syntax

function xweb.document.getStyleElementByFile(
fileNamePattern : String
) : htmlElement

Parameters

fileNamePattern   A string that contains the link target to search for.

Returns

This function returns the htmlElement object that contains the specified fileNamePattern. If no matching element is found, undef is returned.

See Also

Concepts

htmlElement
document
document Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.