Parse() public static method

Parses a relative path formatted as a string.
public static Parse ( string browsePath, ITypeTable typeTree ) : RelativePath
browsePath string
typeTree ITypeTable
return RelativePath
Ejemplo n.º 1
0
 /// <summary>
 /// Creates an operand that references a component/property of a type.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="typeDefinitionId">The type definition identifier.</param>
 /// <param name="browsePath">The browse path.</param>
 /// <param name="attributeId">The attribute identifier.</param>
 /// <param name="indexRange">The index range.</param>
 public AttributeOperand(
     FilterContext context,
     ExpandedNodeId typeDefinitionId,
     string browsePath,
     uint attributeId,
     string indexRange)
 {
     m_nodeId      = ExpandedNodeId.ToNodeId(typeDefinitionId, context.NamespaceUris);
     m_browsePath  = RelativePath.Parse(browsePath, context.TypeTree);
     m_attributeId = attributeId;
     m_indexRange  = indexRange;
     m_alias       = null;
 }