xSQL Schema Compare SDK for SQL Server version 12
GetItemByPrefix Method


The prefix of the namespace to locate.
Returns the namespace with the specified prefix.
Syntax
'Declaration
 
Public Function GetItemByPrefix( _
   ByVal namespacePrefix As System.String _
) As XmlIndexNamespace
public XmlIndexNamespace GetItemByPrefix( 
   System.string namespacePrefix
)
public: XmlIndexNamespace* GetItemByPrefix( 
   System.string* namespacePrefix
) 

Parameters

namespacePrefix
The prefix of the namespace to locate.

Return Value

A XmlIndexNamespace item with the specified prefix or null if not found.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe namespacePrefix is null.
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

XmlIndexNamespaceCollection Class
XmlIndexNamespaceCollection Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback