Opc.Ua.Com.Client.HdaBranchState.CreateBrowser C# (CSharp) Method

CreateBrowser() public method

Creates a browser that finds the references to the branch.
public CreateBrowser ( ISystemContext context, ViewDescription view, Opc.Ua.NodeId referenceType, bool includeSubtypes, BrowseDirection browseDirection, Opc.Ua.QualifiedName browseName, IEnumerable additionalReferences, bool internalOnly ) : INodeBrowser
context ISystemContext The system context to use.
view Opc.Ua.ViewDescription The view which may restrict the set of references/nodes found.
referenceType Opc.Ua.NodeId The type of references being followed.
includeSubtypes bool Whether subtypes of the reference type are followed.
browseDirection BrowseDirection Which way the references are being followed.
browseName Opc.Ua.QualifiedName The browse name of a specific target (used when translating browse paths).
additionalReferences IEnumerable Any additional references that should be included.
internalOnly bool If true the browser should not making blocking calls to external systems.
return INodeBrowser
        public override INodeBrowser CreateBrowser(
            ISystemContext context, 
            ViewDescription view, 
            NodeId referenceType, 
            bool includeSubtypes, 
            BrowseDirection browseDirection, 
            QualifiedName browseName,
            IEnumerable<IReference> additionalReferences,
            bool internalOnly)
        {
            NodeBrowser browser = new HdaElementBrower(
                context,
                view,
                referenceType,
                includeSubtypes,
                browseDirection,
                browseName,
                additionalReferences,
                internalOnly,
                m_itemId,
                TypeDefinitionId,
                BrowseName,
                this.NodeId.NamespaceIndex);

            PopulateBrowser(context, browser);

            return browser;
        }
        #endregion