CreateClause Method (XmlElement)
Creates a SearchClause object from an existing XML document.
Namespace: Microsoft.CommerceServer
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Overridable Function CreateClause ( _
clauseXml As XmlElement _
) As SearchClause
'Usage
Dim instance As SearchClauseFactory
Dim clauseXml As XmlElement
Dim returnValue As SearchClause
returnValue = instance.CreateClause(clauseXml)
public virtual SearchClause CreateClause(
XmlElement clauseXml
)
public:
virtual SearchClause^ CreateClause(
XmlElement^ clauseXml
)
public function CreateClause(
clauseXml : XmlElement
) : SearchClause
Parameters
- clauseXml
Type: System.Xml..::.XmlElement
XML representation of the SearchClause to create.
Return Value
Type: Microsoft.CommerceServer..::.SearchClause
A new SearchClause object from the XML representation.
Remarks
The returned object represents a search clause for searching subsystems.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.