public function asVideotexString(): Primitive\VideotexString
    {
        if (!$this->_element instanceof Primitive\VideotexString) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_VIDEOTEX_STRING));
        }
        return $this->_element;
    }
public function asVideotexString(): Primitive\VideotexString
    {
        if (!$this->_element instanceof Primitive\VideotexString) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_VIDEOTEX_STRING));
        }
        return $this->_element;
    }
public function asVideotexString ( ) : Primitive \ VideotexString { if ( ! $ this -> _element instanceof Primitive \ VideotexString ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_VIDEOTEX_STRING ) ) ; } return $ this -> _element ; }
Get the wrapped element as a videotex string type.

@throws \UnexpectedValueException If the element is not a videotex string
@return \ASN1\Type\Primitive\VideotexString
Get the wrapped element as a videotex string type .