AVEVA OMI Software Developer Kit



Name of the model.
The item path.
RemovePrefix Method
Removes the model name from the given Item's full path.
Syntax
'Declaration
 
Public Shared Function RemovePrefix( _
   ByVal modelName As String, _
   ByVal itemPath As String _
) As String
'Usage
 
Dim modelName As String
Dim itemPath As String
Dim value As String
 
value = PathUtil.RemovePrefix(modelName, itemPath)
public static string RemovePrefix( 
   string modelName,
   string itemPath
)
public:
static String^ RemovePrefix( 
   String^ modelName,
   String^ itemPath
) 

Parameters

modelName
Name of the model.
itemPath
The item path.

Return Value

Fully qualified path that contains the modelname prefixed
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