XDASrv Reference Manual
BrowseGetFullItemID Method
See Also  Send Feedback
NSPlugin Namespace > GenericServer Class : BrowseGetFullItemID Method




ItemName
Name of the item
currBranch
Fully qualified name of the current branch
FullItemID
OUT: Fully qualified name if the item. This name is used to access the item or add it to a group.

Virtual mode browse handling.

Called only from the Professional edition generic server when BrowseMode VIRTUAL is configured.

This method returns the fully qualified name of the specified item in the current branch in the virtual address space. This name is used to add the item to the real address space. This method has to be implemented according the OPC DA V2 specification.

Syntax

Visual Basic (Declaration) 
Public Function BrowseGetFullItemID( _
   ByVal ItemName As String, _
   ByVal currBranch As String, _
   ByRef FullItemID As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As GenericServer
Dim ItemName As String
Dim currBranch As String
Dim FullItemID As String
Dim value As Integer
 
value = instance.BrowseGetFullItemID(ItemName, currBranch, FullItemID)
C# 
public int BrowseGetFullItemID( 
   string ItemName,
   string currBranch,
   out string FullItemID
)
Managed Extensions for C++ 
public: int BrowseGetFullItemID( 
   string* ItemName,
   string* currBranch,
   [PARAMFLAG::Out] string* FullItemID
) 
C++/CLI 
public:
int BrowseGetFullItemID( 
   String^ ItemName,
   String^ currBranch,
   [Out] String^ FullItemID
) 

Parameters

ItemName
Name of the item
currBranch
Fully qualified name of the current branch
FullItemID
OUT: Fully qualified name if the item. This name is used to access the item or add it to a group.

Return Value

HRESULT error/success code

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2002-2011 Advosol Inc. All Rights Reserved.